mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
Replace vim_iswhite with ascii_iswhite() defined in ascii.h
This commit is contained in:
@@ -340,7 +340,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
|
||||
STRCAT(command, pat[0] + 1); /* exclude first backtick */
|
||||
p = command + STRLEN(command) - 1;
|
||||
*p-- = ')'; /* remove last backtick */
|
||||
while (p > command && vim_iswhite(*p))
|
||||
while (p > command && ascii_iswhite(*p))
|
||||
--p;
|
||||
if (*p == '&') { /* remove trailing '&' */
|
||||
ampersent = TRUE;
|
||||
|
Reference in New Issue
Block a user