diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/mainwindows.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index f6a9f6ea..67006467 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -721,12 +721,13 @@ static void cmd_window_balance(void) old_size = rec->height; rec->first_line = last_line; rec->last_line = rec->first_line + unit_size-1; - rec->height = rec->last_line-rec->first_line+1; if (bigger_units > 0) { rec->last_line++; bigger_units--; } + + rec->height = rec->last_line-rec->first_line+1; last_line = rec->last_line+1; mainwindow_resize(rec, 0, rec->height-old_size); |