From cac1cbf2cfa4d2abad92feb35233ac2ac06e92f6 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 31 Aug 2001 20:27:43 +0000 Subject: [PATCH] mainwindow_set_size() called mainwindow_shrink() improperly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1775 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/mainwindows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }