diff options
Diffstat (limited to 'src/fe-text/gui-windows.c')
-rw-r--r-- | src/fe-text/gui-windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c index 34c6c719..02f225b8 100644 --- a/src/fe-text/gui-windows.c +++ b/src/fe-text/gui-windows.c @@ -645,7 +645,7 @@ void gui_window_scroll(WINDOW_REC *window, int lines) gui = WINDOW_GUI(window); if (lines < 0) { - if (gui->startline == NULL) + if (gui->startline == NULL || gui->startline->prev == NULL) return; gui_window_scroll_up(gui, -lines); } else { |