summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-12-07 22:30:18 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-07 22:30:18 +0000
commit2e613453eeeac3ef3405478c33775dd77d135bc7 (patch)
tree9b3659e14df4ceef5637476a4a3ede87573f7b07
parent3fc84dc2c7efecd7c14ce341cd777475058936fd (diff)
patch 9.0.1026: type of w_last_topfill is wrongv9.0.1026
Problem: type of w_last_topfill is wrong. Solution: Use "int" instead of "linenr_T". (closes #11670)
-rw-r--r--src/structs.h4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index cefe6557fc..497a35306e 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -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
diff --git a/src/version.c b/src/version.c
index d29b3cb9b6..e65729fb89 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1026,
+/**/
1025,
/**/
1024,