1
0
forked from aniani/vim

updated for version 7.2-313

This commit is contained in:
Bram Moolenaar
2009-12-02 16:14:36 +00:00
parent 243973325e
commit d7834d3065
4 changed files with 45 additions and 1 deletions

View File

@@ -4422,7 +4422,8 @@ ExpandFromContext(xp, pat, num_file, file, options)
flags |= EW_FILE;
else
flags = (flags | EW_DIR) & ~EW_FILE;
ret = expand_wildcards(1, &pat, num_file, file, flags);
/* Expand wildcards, supporting %:h and the like. */
ret = expand_wildcards_eval(&pat, num_file, file, flags);
if (free_pat)
vim_free(pat);
return ret;