summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/mainwindows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c
index 3b8a4aa1..d3a3c8fd 100644
--- a/src/fe-text/mainwindows.c
+++ b/src/fe-text/mainwindows.c
@@ -550,7 +550,7 @@ void mainwindow_set_size(MAIN_WINDOW_REC *window, int size)
{
size -= window->height;
if (size < 0)
- mainwindow_shrink(window, size);
+ mainwindow_shrink(window, -size);
else
mainwindow_grow(window, size);
}