billiob pushed a commit to branch master.

commit 01bf2409bd3b8b990e077ac0f4dc20570336f248
Author: Boris Faure <[email protected]>
Date:   Sun Mar 10 19:07:46 2013 +0100

    fix segfault
    
    when there is no cell, do not try to do stuff based on it.
---
 src/bin/termio.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 8fddc9e..dbc6ef2 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -591,12 +591,7 @@ _smart_apply(Evas_Object *obj)
                   if (inv) tc[x].bg = COL_INVERSEBG;
                   else tc[x].bg = COL_INVIS;
                   tc[x].bg_extended = 0;
-#if defined(SUPPORT_DBLWIDTH)
-                  tc[x].double_width = cells[j].att.dblwidth;
-#endif
-                  if ((tc[x].double_width) && (tc[x].codepoint == 0) &&
-                      (ch2 == x - 1))
-                    ch2 = x;
+                  tc[x].double_width = 0;
                }
              else
                {

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to