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 /src/structs.h | |
parent | 3fc84dc2c7efecd7c14ce341cd777475058936fd (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)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 4 |
1 files changed, 2 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 |