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:
parent
099c83a98e
commit
cac1cbf2cf
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user