1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Don't redraw screen when trying to scroll up at the start of scrollback

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@938 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-03 04:44:36 +00:00 committed by cras
parent b3a642e548
commit 14dfacdb5f

View File

@ -645,7 +645,7 @@ void gui_window_scroll(WINDOW_REC *window, int lines)
gui = WINDOW_GUI(window); gui = WINDOW_GUI(window);
if (lines < 0) { if (lines < 0) {
if (gui->startline == NULL) if (gui->startline == NULL || gui->startline->prev == NULL)
return; return;
gui_window_scroll_up(gui, -lines); gui_window_scroll_up(gui, -lines);
} else { } else {