aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memline.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-17 23:53:58 +0800
committerGitHub <noreply@github.com>2022-11-17 23:53:58 +0800
commit1f6d36c2c4f4d95ea1f1370e01dd9929da901542 (patch)
treecfe76e6faa4966dbcda5d4b411e937575ce91b64 /src/nvim/memline.c
parent32cba4cee6c2ca232b5def16fe1bae8166d093f1 (diff)
parent4b7aafc2f42e3eee44ae430fcb5e643fb23d7b4b (diff)
downloadrneovim-1f6d36c2c4f4d95ea1f1370e01dd9929da901542.tar.gz
rneovim-1f6d36c2c4f4d95ea1f1370e01dd9929da901542.tar.bz2
rneovim-1f6d36c2c4f4d95ea1f1370e01dd9929da901542.zip
Merge pull request #21090 from zeertzjq/vim-8.2.2945
vim-patch:8.2.{2945,2952,2960,2973,2981,3080,3103,3440,3498},9.0.0895: recover tests
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r--src/nvim/memline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c
index 955074e1f2..5f21a3dd0e 100644
--- 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