diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-06-16 11:55:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-16 11:55:40 +0200 |
commit | 4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d (patch) | |
tree | 22e59e2f57c824369bd8d5f0d561f42303886229 /src/nvim/strings.c | |
parent | c990d65c37ded9ad9f4002a6eb6ec36aa29b4fe3 (diff) | |
parent | f419f914fc52fc86216b59e8ffa6fd510f79c6cd (diff) | |
download | rneovim-4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d.tar.gz rneovim-4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d.tar.bz2 rneovim-4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d.zip |
Merge #8526 from janlazo/vim-8.0.0451
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r-- | src/nvim/strings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 52677738e8..3f31914c03 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -207,7 +207,7 @@ char_u *vim_strsave_shellescape(const char_u *string, /* First count the number of extra bytes required. */ size_t length = STRLEN(string) + 3; // two quotes and a trailing NUL - for (const char_u *p = string; *p != NUL; mb_ptr_adv(p)) { + for (const char_u *p = string; *p != NUL; MB_PTR_ADV(p)) { #ifdef WIN32 if (!p_ssl) { if (*p == '"') { @@ -469,7 +469,7 @@ char_u *vim_strrchr(const char_u *string, int c) while (*p) { if (*p == c) retval = p; - mb_ptr_adv(p); + MB_PTR_ADV(p); } return (char_u *) retval; } |