diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-26 06:24:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-26 06:24:45 +0200 |
commit | 644044794ea55fdee8599ee1e861234216c20402 (patch) | |
tree | 9dfe2fa4bae0f9914f0d12f7a502aaffc1795c43 /src/if_cscope.c | |
parent | 0eda7ac7f897433c9d346743bf38fcd291673070 (diff) |
Various small fixes from Dominique Pelle.
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index 6ab9c2403c..8eaa037699 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -588,7 +588,7 @@ staterr: ) { fname[strlen(fname)-1] = '\0'; - if (strlen(fname) == 0) + if (fname[0] == '\0') break; } if (fname[0] == '\0') |