commit | 644044794ea55fdee8599ee1e861234216c20402 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 26 06:24:45 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 26 06:24:45 2010 +0200 |
tree | 9dfe2fa4bae0f9914f0d12f7a502aaffc1795c43 | |
parent | 0eda7ac7f897433c9d346743bf38fcd291673070 [diff] [blame] |
Various small fixes from Dominique Pelle.
diff --git a/src/if_cscope.c b/src/if_cscope.c index 6ab9c24..8eaa037 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c
@@ -588,7 +588,7 @@ ) { fname[strlen(fname)-1] = '\0'; - if (strlen(fname) == 0) + if (fname[0] == '\0') break; } if (fname[0] == '\0')