billiob pushed a commit to branch master.

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

commit 904f49ccc4cb295a0f75cacc70c927b503302451
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Dec 26 11:52:31 2015 +0100

    remove statement with no effect
---
 src/bin/termpty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 18d4786..11dbcda 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -1123,7 +1123,7 @@ termpty_resize(Termpty *ty, int new_w, int new_h)
           }
      }
    /* For all the other lines, do not care about the history */
-   for (old_y; old_y < effective_old_h; old_y++)
+   for (; old_y < effective_old_h; old_y++)
      {
         /* for each line in the old screen, append it to the new screen */
         Termcell *cells = &(TERMPTY_SCREEN(ty, 0, old_y));

-- 


Reply via email to