billiob pushed a commit to branch master.

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

commit ab9243b94f2baafa1dfa9a6c18f16f6355d9113d
Author: Boris Faure <[email protected]>
Date:   Wed Jan 22 23:19:11 2014 +0100

    oops
---
 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 84e6dca..a80e162 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -427,7 +427,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
              arg = _csi_arg_get(&b);
              if (arg < 1) arg = 1;
              arg--;
-             else if (arg >= ty->h) arg = ty->h - 1;
+             if (arg >= ty->h) arg = ty->h - 1;
              if (b)
                {
                   ty->state.cy = arg;

-- 


Reply via email to