mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Merge pull request #1054 from dwfreed/fix-window-balance-warning
fe-text/mainwindows: fix /window balance warning
This commit is contained in:
commit
399c922524
@ -1298,9 +1298,7 @@ static void window_balance_vertical(void)
|
||||
rec->last_line++;
|
||||
}
|
||||
|
||||
rec->height = rec->last_line-rec->first_line+1;
|
||||
|
||||
mainwindow_resize(rec, 0, rec->height-old_size);
|
||||
mainwindow_resize(rec, 0, rec->last_line - rec->first_line + 1 - old_size);
|
||||
}
|
||||
if (line != NULL && bigger_units > 0) {
|
||||
bigger_units--;
|
||||
|
Loading…
Reference in New Issue
Block a user