summaryrefslogtreecommitdiff
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-11-21 10:43:23 +0000
committerBram Moolenaar <Bram@vim.org>2006-11-21 10:43:23 +0000
commit508b9e895d01980ee0a25536e8e70ca9acbb43b4 (patch)
treecd269b508638e9ce043828a8cb58f20b35978f0f /src/if_cscope.c
parent93db975fa459f7c5b535694e713b40d5c0b56fd9 (diff)
downloadvim-git-508b9e895d01980ee0a25536e8e70ca9acbb43b4.tar.gz
updated for version 7.0-166v7.0.166
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index f796cd927..8866435dd 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -1008,7 +1008,7 @@ cs_find_common(opt, pat, forceit, verbose, use_ll)
totmatches = 0;
for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++)
{
- if (csinfo[i].fname == NULL)
+ if (csinfo[i].fname == NULL || csinfo[i].to_fp == NULL)
continue;
/* send cmd to cscope */