diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-24 09:26:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 09:26:17 -0500 |
commit | d290da70b76a2dcd99591ec1a175a4ae29f64bfd (patch) | |
tree | ff1820ca53dfe5484414a643339f8d136d7f0ceb /src/nvim/misc1.c | |
parent | 6b7cc45c4845624aa08232a860941b5a55b9640b (diff) | |
parent | ab5083b5fc9fc8c62dae6aefc4fb2615a61c6fff (diff) | |
download | rneovim-d290da70b76a2dcd99591ec1a175a4ae29f64bfd.tar.gz rneovim-d290da70b76a2dcd99591ec1a175a4ae29f64bfd.tar.bz2 rneovim-d290da70b76a2dcd99591ec1a175a4ae29f64bfd.zip |
Merge pull request #14001 from janlazo/vim-8.2.2545
vim-patch:8.2.{2545,2547,2548}
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index fcffe64595..34c43da0f7 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -412,7 +412,7 @@ int plines_win_nofold(win_T *wp, linenr_T lnum) s = ml_get_buf(wp->w_buffer, lnum, FALSE); if (*s == NUL) /* empty line */ return 1; - col = win_linetabsize(wp, s, (colnr_T)MAXCOL); + col = win_linetabsize(wp, s, MAXCOL); // If list mode is on, then the '$' at the end of the line may take up one // extra column. |