aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-26 08:25:36 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-26 10:14:59 +0800
commitfa1c761d62667c28e4d3a81f379abeddb878f3cd (patch)
tree49b4a1025bed19a5948b7afefe300a4aabd0842e /src/nvim/mbyte.c
parent1ba3d5c712dcc2e2ee35c6bc27d9965f671f967a (diff)
downloadrneovim-fa1c761d62667c28e4d3a81f379abeddb878f3cd.tar.gz
rneovim-fa1c761d62667c28e4d3a81f379abeddb878f3cd.tar.bz2
rneovim-fa1c761d62667c28e4d3a81f379abeddb878f3cd.zip
vim-patch:9.0.0036: 'fillchars' cannot have window-local values
Problem: 'fillchars' cannot have window-local values. Solution: Make 'fillchars' global-local. (closes vim/vim#5206) https://github.com/vim/vim/commit/96ba25ac01279f73c0ecb5d4aa4ff37aa359e5eb Cherry-pick g:run_nr from patch 8.2.0454. N/A patches for version.c: vim-patch:9.0.0037: build error Problem: Build error. Solution: Add missing change. https://github.com/vim/vim/commit/510f03738dfcadfe2099c5b6a58cb75f64dbaa82
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c3
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;