mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02: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
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue