Fix crash when split is too small and miniview is shown.

Summary: Fixes T2450

Reviewers: billiob

Maniphest Tasks: T2450

Differential Revision: https://phab.enlightenment.org/D2919
This commit is contained in:
godfath3r 2015-08-05 22:42:21 +03:00 committed by Boris Faure
parent eea13ce939
commit c2e1c2c3fa
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ _deferred_renderer(void *data)
ty = termio_pty_get(mv->termio);
evas_object_geometry_get(mv->termio, &ox, &oy, &ow, &oh);
if ((ow == 0) || (oh == 0)) return EINA_TRUE;
if ((ow == 0) || (oh == 0) || (mv->cols == 1)) return EINA_TRUE;
history_len = termpty_backlog_length(ty);