billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=93b6d77944d31461fbcf1c3784164b5cb8142706
commit 93b6d77944d31461fbcf1c3784164b5cb8142706 Author: Boris Faure <bill...@gmail.com> Date: Tue Nov 2 23:28:04 2021 +0100 termptyesc: use Eina_Bool for booleans --- src/bin/termptyesc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index 67c183e..a15dc73 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -282,13 +282,15 @@ static void _handle_esc_csi_reset_mode(Termpty *ty, Eina_Unicode cc, Eina_Unicode *b, const Eina_Unicode * const end) { - int mode = 0, priv = 0, arg; + Eina_Bool mode = EINA_FALSE; + Eina_Bool priv = EINA_FALSE; + int arg; if (cc == 'h') - mode = 1; + mode = EINA_TRUE; if (*b == '?') { - priv = 1; + priv = EINA_TRUE; b++; } if (priv) /* DEC Private Mode Reset (DECRST) */ --