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/charset.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/charset.c')
-rw-r--r-- | src/nvim/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index be265e3f27..5ad1fe0dfd 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -708,7 +708,7 @@ int ptr2cells(const char_u *p) /// @return number of character cells. int vim_strsize(char_u *s) { - return vim_strnsize(s, (int)MAXCOL); + return vim_strnsize(s, MAXCOL); } /// Return the number of character cells string "s[len]" will take on the |