aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-03-31 11:50:22 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-03-31 11:50:39 -0300
commitad7a317c42b7eb4d27a888f217750a4f4bb67bc8 (patch)
tree6a2e7808d6064a556dfc81320775fddb79257b7c /src/nvim/ex_docmd.c
parent27ead64da044f841515d52e273dc3f963e6c678c (diff)
parentfeca9624b8bec45ecd112aab8495143e8ed3e3a4 (diff)
downloadrneovim-ad7a317c42b7eb4d27a888f217750a4f4bb67bc8.tar.gz
rneovim-ad7a317c42b7eb4d27a888f217750a4f4bb67bc8.tar.bz2
rneovim-ad7a317c42b7eb4d27a888f217750a4f4bb67bc8.zip
Merge PR #1212 'os_scandir/scandir_next/closedir()'
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 776ed844e9..db4f3a54f1 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -3432,7 +3432,7 @@ int expand_filename(exarg_T *eap, char_u **cmdlinep, char_u **errormsgp)
* the file name contains a wildcard it should not cause expanding.
* (it will be expanded anyway if there is a wildcard before replacing).
*/
- has_wildcards = mch_has_wildcard(p);
+ has_wildcards = path_has_wildcard(p);
while (*p != NUL) {
/* Skip over `=expr`, wildcards in it are not expanded. */
if (p[0] == '`' && p[1] == '=') {
@@ -3543,7 +3543,7 @@ int expand_filename(exarg_T *eap, char_u **cmdlinep, char_u **errormsgp)
|| vim_strchr(eap->arg, '~') != NULL) {
expand_env_esc(eap->arg, NameBuff, MAXPATHL,
TRUE, TRUE, NULL);
- has_wildcards = mch_has_wildcard(NameBuff);
+ has_wildcards = path_has_wildcard(NameBuff);
p = NameBuff;
} else
p = NULL;