diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-01-23 21:50:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-23 21:50:41 +0100 |
commit | 5892aab1b54b115cc3e74cb0ac59b0034627bf4e (patch) | |
tree | 974ccd5d14bb258403f3ec274ac93e8dfd651ca6 /src/nvim/quickfix.c | |
parent | d4b931deacf61528e902623d38d0f4d314bc1839 (diff) | |
parent | b70a5cdd49ecd5f3fe749c1c66a169fee828c66e (diff) | |
download | rneovim-5892aab1b54b115cc3e74cb0ac59b0034627bf4e.tar.gz rneovim-5892aab1b54b115cc3e74cb0ac59b0034627bf4e.tar.bz2 rneovim-5892aab1b54b115cc3e74cb0ac59b0034627bf4e.zip |
Merge #5996 from justinmk/coverity-133845
xstrlcat() + coverity fixes
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 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); |