billiob pushed a commit to branch master.

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

commit d43110e0fd7824becaa9c28ca579657da25a79b5
Author: Boris Faure <[email protected]>
Date:   Mon Nov 26 21:07:56 2018 +0100

    termptyesc: fix decera/decfra when bottom coordinate is too large
---
 src/bin/termptyesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 143d180..3c5e5e2 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1104,7 +1104,7 @@ _clean_up_rect_coordinates(Termpty *ty,
      }
    bottom--;
    if (bottom > ty->h)
-     bottom = ty->h;
+     bottom = ty->h - 1;
 
    if ((bottom < top) || (right < left))
      return -1;

-- 


Reply via email to