neovim

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

commit 4b7aafc2f42e3eee44ae430fcb5e643fb23d7b4b
parent 7139035bfd90698ce7214b507b2f8a7766398a68
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu, 17 Nov 2022 23:27:39 +0800

fix(memline): use long instead of linenr_T for db_line_count

Diffstat:
Msrc/nvim/memline.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nvim/memline.c b/src/nvim/memline.c @@ -131,7 +131,8 @@ struct data_block { unsigned db_free; // free space available unsigned db_txt_start; // byte where text starts unsigned db_txt_end; // byte just after data block - linenr_T db_line_count; // number of lines in this block + // linenr_T db_line_count; + long db_line_count; // number of lines in this block unsigned db_index[1]; // index for start of line (actually bigger) // followed by empty space up to db_txt_start // followed by the text in the lines until