summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-25 21:57:23 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-25 21:57:23 +0000
commit9d75c83f8fa3fec072019d0a13b58b00501959b5 (patch)
treeb3633eb0b393fe5ec8f0f2f97e085039ee09924d /src/quickfix.c
parent281bdcec60a64ccd0b613ecaf2379e46b21c9912 (diff)
downloadvim-git-9d75c83f8fa3fec072019d0a13b58b00501959b5.tar.gz
updated for version 7.0044
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 0c5a050d9..2a2ee14c4 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -617,9 +617,9 @@ restofline:
if (qf_add_entry(&qfprev,
directory,
- *namebuf || directory
+ (*namebuf || directory)
? namebuf
- : currfile && valid ? currfile : NULL,
+ : ((currfile && valid) ? currfile : (char_u *)NULL),
errmsg,
lnum,
col,