summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-text/gui-windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c
index cdce5bd1..5267796d 100644
--- a/src/fe-text/gui-windows.c
+++ b/src/fe-text/gui-windows.c
@@ -789,7 +789,7 @@ void gui_window_resize(WINDOW_REC *window, int ychange, int xchange)
if (gui->empty_linecount >= 0)
ychange = 0;
else {
- ychange -= gui->empty_linecount;
+ ychange = gui->empty_linecount;
gui->empty_linecount = 0;
}
}