From 39d2fea87423e3a2b3c8b95a5397be0a9fb5546f Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 6 Oct 2012 20:53:45 +0000 Subject: [PATCH] terminology: add missing parentheses SVN revision: 77551 --- src/bin/termptyops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c index 320a2670..c6f81e93 100644 --- a/src/bin/termptyops.c +++ b/src/bin/termptyops.c @@ -127,7 +127,7 @@ _termpty_text_scroll_test(Termpty *ty) int e = ty->h; if (ty->state.scroll_y2 != 0) e = ty->state.scroll_y2; - if (ty->state.cy >= e && ty->state.cy >= ty->h) + if ((ty->state.cy >= e) && (ty->state.cy >= ty->h)) { _termpty_text_scroll(ty); ty->state.cy = e - 1;