vim-patch:9.0.1026: type of w_last_topfill is wrong (#21332)

Problem:    type of w_last_topfill is wrong.
Solution:   Use "int" instead of "linenr_T". (closes vim/vim#11670)

2e613453ee
This commit is contained in:
zeertzjq 2022-12-08 07:39:56 +08:00 committed by GitHub
parent f92aab5f70
commit a505c1acc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1191,9 +1191,9 @@ struct window_S {
colnr_T w_skipcol; // starting column when a single line
// doesn't fit in the window
// 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
linenr_T w_last_topfill; ///< last known value for w_topfill
int w_last_topfill; ///< last known value for w_topfill
colnr_T w_last_leftcol; ///< last known value for w_leftcol
colnr_T w_last_skipcol; ///< last known value for w_skipcol
int w_last_width; ///< last known value for w_width