1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

mainwindow_set_size() called mainwindow_shrink() improperly.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1775 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-08-31 20:27:43 +00:00 committed by cras
parent 099c83a98e
commit cac1cbf2cf

View File

@ -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);
}