Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Jari Matilainen 2014-08-10 00:00:05 +02:00
commit 23d0d036a4

View file

@ -293,7 +293,7 @@ void term_window_scroll(TERM_WINDOW *window, int count)
term_move_reset(vcx, vcy); term_move_reset(vcx, vcy);
/* set the newly scrolled area dirty */ /* set the newly scrolled area dirty */
for (y = 0; y < window->height; y++) for (y = 0; (window->y+y) < term_height && y < window->height; y++)
term_lines_empty[window->y+y] = FALSE; term_lines_empty[window->y+y] = FALSE;
} }