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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221207223053.C2C331C0678%40moolenaar.net.

Raspunde prin e-mail lui