fix segfault

when there is no cell, do not try to do stuff based on it.
This commit is contained in:
Boris Faure 2013-03-10 19:07:46 +01:00
parent 6be6249ccd
commit 01bf2409bd
1 changed files with 1 additions and 6 deletions

View File

@ -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
{