billiob pushed a commit to branch master.

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

commit 64d7150252c77b58a64a07d7e6043c5c01641bf4
Author: Boris Faure <[email protected]>
Date:   Tue Jun 6 00:19:48 2017 +0200

    fix stupid segfault
---
 src/bin/termptyops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c
index 70e366a..5be2ad5 100644
--- a/src/bin/termptyops.c
+++ b/src/bin/termptyops.c
@@ -73,7 +73,7 @@ termpty_text_scroll(Termpty *ty, Eina_Bool clear)
    else
      {
         int x = ty->termstate.left_margin;
-        int w = ty->w;
+        int w = ty->w - x;
 
         if (ty->termstate.right_margin)
           w = ty->termstate.right_margin - x;

-- 


Reply via email to