aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-01-23 14:34:47 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-01-23 15:49:37 +0100
commit7e799b6e910880d37e47c86ac46f12ce1c1c8a25 (patch)
treec226e6752ecbf97a2a42a42555b0fe8f79ec0439 /src/nvim/quickfix.c
parent6c467f3f7e71029c6ef4b8a18d8900ff51eb1174 (diff)
downloadrneovim-7e799b6e910880d37e47c86ac46f12ce1c1c8a25.tar.gz
rneovim-7e799b6e910880d37e47c86ac46f12ce1c1c8a25.tar.bz2
rneovim-7e799b6e910880d37e47c86ac46f12ce1c1c8a25.zip
refactor: Replace vim_strcat() with xstrlcat().
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 19287ecffb..cebff5e8b7 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -2126,7 +2126,7 @@ static void qf_msg(qf_info_T *qi, int which, char *lead)
memset(buf + len, ' ', 34 - len);
buf[34] = NUL;
}
- vim_strcat(buf, (char_u *)title, IOSIZE);
+ xstrlcat((char *)buf, title, IOSIZE);
}
trunc_string(buf, buf, (int)Columns - 1, IOSIZE);
msg(buf);