0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0040

This commit is contained in:
Bram Moolenaar
2005-01-16 21:59:36 +00:00
parent 32e4e1f1d8
commit 0cf6f545ac
2 changed files with 10 additions and 2 deletions

View File

@@ -4939,7 +4939,12 @@ mch_expand_wildcards(num_pat, pat, num_file, file, flags)
*p++ = '"';
}
else
*p++ = pat[i][j++];
{
/* For a backslash also copy the next character, don't
* want to put quotes around it. */
if ((*p++ = pat[i][j++]) == '\\' && pat[i][j] != NUL)
*p++ = pat[i][j++];
}
*p = NUL;
#endif
}