terminology: add missing parentheses

SVN revision: 77551
This commit is contained in:
Boris Faure 2012-10-06 20:53:45 +00:00
parent e097c4c8af
commit 39d2fea874
1 changed files with 1 additions and 1 deletions

View File

@ -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;