diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-07 22:30:18 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-07 22:30:18 +0000 |
commit | 2e613453eeeac3ef3405478c33775dd77d135bc7 (patch) | |
tree | 9b3659e14df4ceef5637476a4a3ede87573f7b07 | |
parent | 3fc84dc2c7efecd7c14ce341cd777475058936fd (diff) | |
download | vim-git-2e613453eeeac3ef3405478c33775dd77d135bc7.tar.gz |
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.h | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h index cefe6557f..497a35306 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 d29b3cb9b..e65729fb8 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, |