diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-01-16 14:18:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-01-16 14:18:41 +0000 |
commit | 84c4d79ad4aa98e1f22742b9896696bb2414b21a (patch) | |
tree | 02d320cca541f122f0ab5a6c8f3f931791b892cd /src/if_cscope.c | |
parent | 863b53b72e50508b766c83678a0bd390d5a5f585 (diff) | |
download | vim-git-84c4d79ad4aa98e1f22742b9896696bb2414b21a.tar.gz |
updated for version 7.0-184v7.0.184
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index 8866435dd..97145aa9c 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -627,10 +627,11 @@ cs_cnt_matches(idx) * If the database is out of date, or there's some other problem, * cscope will output error messages before the number-of-lines output. * Display/discard any output that doesn't match what we want. + * Accept "\S*cscope: X lines", also matches "mlcscope". */ if ((stok = strtok(buf, (const char *)" ")) == NULL) continue; - if (strcmp((const char *)stok, "cscope:")) + if (strstr((const char *)stok, "cscope:") == NULL) continue; if ((stok = strtok(NULL, (const char *)" ")) == NULL) |