# HG changeset patch # User Bram Moolenaar # Date 1670453105 -3600 # Node ID ab4b3710f43728748041b30e95e31dddff7f8319 # Parent ce58aee2303d0af5ee67d97741ec6bbd24f63d18 patch 9.0.1026: type of w_last_topfill is wrong Commit: https://github.com/vim/vim/commit/2e613453eeeac3ef3405478c33775dd77d135bc7 Author: Bram Moolenaar Date: Wed Dec 7 22:30:18 2022 +0000 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 https://github.com/vim/vim/issues/11670) diff --git a/src/structs.h b/src/structs.h --- 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 --- 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,