summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-08-31 20:27:43 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-08-31 20:27:43 +0000
commitcac1cbf2cfa4d2abad92feb35233ac2ac06e92f6 (patch)
treee221543aa3bd175418e84d0533989f837ffb5166
parent099c83a98e9b4cd728501fcfe2b52911dd8b10a4 (diff)
downloadirssi-cac1cbf2cfa4d2abad92feb35233ac2ac06e92f6.zip
mainwindow_set_size() called mainwindow_shrink() improperly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1775 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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);
}