0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1026: type of w_last_topfill is wrong

Problem:    type of w_last_topfill is wrong.
Solution:   Use "int" instead of "linenr_T". (closes #11670)
This commit is contained in:
Bram Moolenaar
2022-12-07 22:30:18 +00:00
parent 3fc84dc2c7
commit 2e613453ee
2 changed files with 4 additions and 2 deletions

View File

@@ -3616,10 +3616,10 @@ struct window_S
// window
#endif
// five fields that are only used when there is a WinScrolled autocommand
// six fields that are only used when there is a WinScrolled autocommand
linenr_T w_last_topline; // last known value for w_topline
#ifdef FEAT_DIFF
linenr_T w_last_topfill; // last known value for w_topfill
int w_last_topfill; // last known value for w_topfill
#endif
colnr_T w_last_leftcol; // last known value for w_leftcol
colnr_T w_last_skipcol; // last known value for w_skipcol