diff options
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 3b86662f05..0da98713df 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -2078,7 +2078,7 @@ void qf_list(exarg_T *eap) msg_puts_attr((const char *)IObuff, hl_attr(HLF_N)); if (qfp->qf_pattern != NULL) { qf_fmt_text(qfp->qf_pattern, IObuff, IOSIZE); - STRNCAT(IObuff, ":", IOSIZE); + xstrlcat((char *)IObuff, ":", IOSIZE); msg_puts((const char *)IObuff); } msg_puts(" "); |