0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0461: 'scroll' is not always updated

Problem:    'scroll' is not always updated.
Solution:   Call win_init_size() at the right place.
This commit is contained in:
Luuk van Baal
2022-09-14 01:27:23 +01:00
committed by Bram Moolenaar
parent 766ae5b252
commit 470a14140b
4 changed files with 6 additions and 1 deletions

View File

@@ -6384,6 +6384,7 @@ win_fix_scroll(int resize)
invalidate_botline_win(wp);
validate_botline_win(wp);
}
win_comp_scroll(wp);
wp->w_prev_height = wp->w_height;
wp->w_prev_winrow = wp->w_winrow;
}