diff options
Diffstat (limited to 'lib/libncurses/lib_newterm.c')
-rw-r--r-- | lib/libncurses/lib_newterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libncurses/lib_newterm.c b/lib/libncurses/lib_newterm.c index 95ef1eb..4b49c8d 100644 --- a/lib/libncurses/lib_newterm.c +++ b/lib/libncurses/lib_newterm.c @@ -123,11 +123,12 @@ char *use_it = _ncurses_copyright; stolen = topstolen = 0; for (rsp = rippedoff; rsp->line; rsp++) { - if (rsp->hook) + if (rsp->hook) { if (rsp->line < 0) rsp->hook(newwin(1,COLS, LINES-1,0), COLS); else rsp->hook(newwin(1,COLS, topstolen++,0), COLS); + } --LINES; stolen++; } |