diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-06-24 21:56:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-06-24 21:56:24 +0000 |
commit | 446cb837a017fc1c1b144cb5c2a35cb90abfbbcf (patch) | |
tree | 6c1fe56f2db8d4adbeee792b181b0659c4d1f216 /src/if_cscope.c | |
parent | 3577c6fafb77da5419cd1001dac56f204d480bdc (diff) | |
download | vim-git-446cb837a017fc1c1b144cb5c2a35cb90abfbbcf.tar.gz |
updated for version 7.2a
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index 001955951..600fcb0a3 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -23,7 +23,6 @@ #else /* not UNIX, must be WIN32 */ # include "vimio.h" -# include <fcntl.h> #endif #include "if_cscope.h" @@ -171,7 +170,7 @@ do_cstag(eap) cs_init(); - if (eap->arg == NULL || strlen((const char *)(eap->arg)) == 0) + if (*eap->arg == NUL) { (void)EMSG(_("E562: Usage: cstag <ident>")); return; @@ -1225,7 +1224,7 @@ clear_csinfo(i) csinfo[i].nIndexHigh = 0; csinfo[i].nIndexLow = 0; #endif - csinfo[i].pid = -1; + csinfo[i].pid = 0; csinfo[i].fr_fp = NULL; csinfo[i].to_fp = NULL; #if defined(WIN32) |