1
0
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:
ailin-nemui 2019-06-10 12:20:50 +02:00 committed by GitHub
commit 399c922524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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