neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit a505c1acc37b0f9d4f7d93bfe899a59514bd0027
parent f92aab5f704f6e94e80f2fcbab42acc272a66a29
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu,  8 Dec 2022 07:39:56 +0800

vim-patch:9.0.1026: type of w_last_topfill is wrong (#21332)

Problem:    type of w_last_topfill is wrong.
Solution:   Use "int" instead of "linenr_T". (closes vim/vim#11670)

https://github.com/vim/vim/commit/2e613453eeeac3ef3405478c33775dd77d135bc7
Diffstat:
Msrc/nvim/buffer_defs.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h @@ -1191,9 +1191,9 @@ struct window_S { colnr_T w_skipcol; // starting column when a single line // doesn't fit in the window - // 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 - linenr_T w_last_topfill; ///< last known value for w_topfill + int w_last_topfill; ///< last known value for w_topfill colnr_T w_last_leftcol; ///< last known value for w_leftcol colnr_T w_last_skipcol; ///< last known value for w_skipcol int w_last_width; ///< last known value for w_width