aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-19 22:59:15 +0000
committerGitHub <noreply@github.com>2022-02-19 22:59:15 +0000
commit8b3799e2c33282bf417ddee15ae71b5aba613c16 (patch)
tree14a5119b2c0c73c69a424b50461fa98e918299f9 /src/nvim/path.c
parent439a843b80339d80e788e8382ae91414c3db6dd5 (diff)
parent9c04285057b70f90ca19cb08a49f96369085d882 (diff)
downloadrneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.tar.gz
rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.tar.bz2
rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.zip
Merge pull request #17460 from seandewar/vim-8.2.4419
vim-patch:8.2.{4403,4418,4419,4422}
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 7f7f941e26..d3aa5e5bf2 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -642,8 +642,7 @@ static size_t do_path_expand(garray_T *gap, const char_u *path, size_t wildoff,
} else if (path_end >= path + wildoff
&& (vim_strchr((char_u *)"*?[{~$", *path_end) != NULL
#ifndef WIN32
- || (!p_fic && (flags & EW_ICASE)
- && isalpha(utf_ptr2char(path_end)))
+ || (!p_fic && (flags & EW_ICASE) && mb_isalpha(utf_ptr2char(path_end)))
#endif
)) {
e = p;