Patch 9.0.1026

3 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 7, 2022, 5:31:00 PM12/7/22
to vim...@googlegroups.com

Patch 9.0.1026
Problem: type of w_last_topfill is wrong.
Solution: Use "int" instead of "linenr_T". (closes #11670)
Files: src/structs.h


*** ../vim-9.0.1025/src/structs.h 2022-12-07 09:17:56.520551971 +0000
--- src/structs.h 2022-12-07 22:25:44.387073733 +0000
***************
*** 3616,3625 ****
// window
#endif

! // five 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
#endif
colnr_T w_last_leftcol; // last known value for w_leftcol
colnr_T w_last_skipcol; // last known value for w_skipcol
--- 3660,3669 ----
// window
#endif

! // 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
! 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
*** ../vim-9.0.1025/src/version.c 2022-12-07 09:17:56.520551971 +0000
--- src/version.c 2022-12-07 22:26:49.735081618 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1026,
/**/

--
If VIM were a woman, I'd marry her. Slim, organized, helpful
and beautiful; what's not to like? --David A. Rogers

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages