0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

Various small fixes from Dominique Pelle.

This commit is contained in:
Bram Moolenaar
2010-06-26 06:24:45 +02:00
parent 0eda7ac7f8
commit 644044794e
18 changed files with 1423 additions and 1100 deletions

View File

@@ -588,7 +588,7 @@ staterr:
)
{
fname[strlen(fname)-1] = '\0';
if (strlen(fname) == 0)
if (fname[0] == '\0')
break;
}
if (fname[0] == '\0')