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 // window
#endif #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 linenr_T w_last_topline; // last known value for w_topline
#ifdef FEAT_DIFF #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 #endif
colnr_T w_last_leftcol; // last known value for w_leftcol colnr_T w_last_leftcol; // last known value for w_leftcol
colnr_T w_last_skipcol; // last known value for w_skipcol colnr_T w_last_skipcol; // last known value for w_skipcol

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1026,
/**/ /**/
1025, 1025,
/**/ /**/