0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0e04

This commit is contained in:
Bram Moolenaar
2006-04-20 22:17:20 +00:00
parent 8424a624ce
commit fc1421eb53
54 changed files with 2579 additions and 5124 deletions

View File

@@ -1532,7 +1532,7 @@ recover_names(fname, list, nr)
files[i] = files[i + 1];
}
}
if (nr)
if (nr > 0)
{
file_count += num_files;
if (nr <= file_count)
@@ -1578,7 +1578,8 @@ recover_names(fname, list, nr)
for (i = 0; i < num_names; ++i)
vim_free(names[i]);
FreeWild(num_files, files);
if (num_files > 0)
FreeWild(num_files, files);
}
vim_free(dir_name);
return file_count;