diff options
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 4 |
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, |