From 01bf2409bd3b8b990e077ac0f4dc20570336f248 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sun, 10 Mar 2013 19:07:46 +0100 Subject: [PATCH] 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 8fddc9ef..dbc6ef21 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 {