handle null term row return - in case.

SVN revision: 72210
This commit is contained in:
Carsten Haitzler 2012-06-16 05:27:03 +00:00
parent cf7cd1e42c
commit 7bff2bd96b
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ _smart_apply(Evas_Object *obj)
w = 0; j = 0;
cells = termpty_cellrow_get(sd->pty, y - sd->scroll, &w);
tc = evas_object_textgrid_cellrow_get(sd->grid.obj, y);
if (!tc) continue;
ch1 = -1;
for (x = 0; x < sd->grid.w; x++)
{