diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-26 10:46:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 10:46:18 +0800 |
commit | 946c0aa66f7b52c406b2654b9869edcb79db5ada (patch) | |
tree | c2798c15f37da62bfa97d157d9bf6e2ced6c0a29 /src/nvim/mbyte.c | |
parent | c12f6002a15b27ada972b997bc0950f37d06027d (diff) | |
parent | 36fdad557583216c93cf85d94400eaf6996dced7 (diff) | |
download | rneovim-946c0aa66f7b52c406b2654b9869edcb79db5ada.tar.gz rneovim-946c0aa66f7b52c406b2654b9869edcb79db5ada.tar.bz2 rneovim-946c0aa66f7b52c406b2654b9869edcb79db5ada.zip |
Merge pull request #19953 from zeertzjq/vim-9.0.0036
vim-patch:8.2.2524,9.0.(0036,0037,0038,0040}
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r-- | src/nvim/mbyte.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index 83044f209a..ad8718742f 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1989,8 +1989,7 @@ theend: } /// @return true if string "s" is a valid utf-8 string. -/// When "end" is NULL stop at the first NUL. -/// When "end" is positive stop there. +/// When "end" is NULL stop at the first NUL. Otherwise stop at "end". bool utf_valid_string(const char_u *s, const char_u *end) { const char_u *p = s; |