billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=75bbf1e3e2fa217bdf0bac4547b1515aa5d5c7ef

commit 75bbf1e3e2fa217bdf0bac4547b1515aa5d5c7ef
Author: Boris Faure <[email protected]>
Date:   Sun Oct 11 15:02:59 2020 +0200

    termptyesc: simplify code. CID1431130
---
 src/bin/termptyesc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 9f7f730..ea4e2ac 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -3878,9 +3878,7 @@ end:
    if (l == 1)
      v <<= 4;
    *c = v;
-   if (l > 0)
-     return l;
-   return -1;
+   return l;
 }
 
 static int

-- 


Reply via email to