billiob pushed a commit to branch master.

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

commit 21764bbf85eabe9aab7cb815bc4a49d5f198954f
Author: Boris Faure <bill...@gmail.com>
Date:   Mon Aug 3 21:23:38 2015 +0200

    remove wrong assert when no backlog ever generated
---
 src/bin/termpty.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index dc6db85..a273ebb 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -809,13 +809,8 @@ _termpty_cellrow_from_beacon_get(Termpty *ty, int 
requested_y, int *wret)
         int nb_lines;
 
         ts = BACKLOG_ROW_GET(ty, backlog_y);
-        assert (ts->cells);
         if (!ts->cells)
-          {
-             ERR("went too far: requested_y:%d screen_y:%d backlog_y:%d",
-                 requested_y, screen_y, backlog_y);
-             return NULL;
-          }
+          return NULL;
         nb_lines = (ts->w == 0) ? 1 : (ts->w + ty->w - 1) / ty->w;
         if (!going_forward) {
              screen_y -= nb_lines;

-- 


Reply via email to