billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=c2e1c2c3fa200fecef15234f611bf504d117d6fb

commit c2e1c2c3fa200fecef15234f611bf504d117d6fb
Author: godfath3r <galatsan...@gmail.com>
Date:   Wed Aug 5 22:42:21 2015 +0300

    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
---
 src/bin/miniview.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/miniview.c b/src/bin/miniview.c
index f1dac82..f06f5cd 100644
--- a/src/bin/miniview.c
+++ b/src/bin/miniview.c
@@ -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);
 

-- 


Reply via email to