1
0
forked from aniani/vim

updated for version 7.0-028

This commit is contained in:
Bram Moolenaar
2006-06-22 17:47:10 +00:00
parent 35c9291be7
commit 654b5b5572
4 changed files with 8 additions and 2 deletions

View File

@@ -4971,7 +4971,8 @@ mch_expand_wildcards(num_pat, pat, num_file, file, flags)
if (((*file)[*num_file] = alloc(len + 2)) != NULL)
{
STRCPY((*file)[*num_file], p);
if (!after_pathsep((*file)[*num_file] + len))
if (!after_pathsep((*file)[*num_file],
(*file)[*num_file] + len))
{
(*file)[*num_file][len] = psepc;
(*file)[*num_file][len + 1] = NUL;