mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 18:28:19 +00:00
refactor: Replace vim_strcat() with xstrlcat().
This commit is contained in:
@@ -2507,8 +2507,9 @@ void msgmore(long n)
|
||||
vim_snprintf((char *)msg_buf, MSG_BUF_LEN,
|
||||
_("%" PRId64 " fewer lines"), (int64_t)pn);
|
||||
}
|
||||
if (got_int)
|
||||
vim_strcat(msg_buf, (char_u *)_(" (Interrupted)"), MSG_BUF_LEN);
|
||||
if (got_int) {
|
||||
xstrlcat((char *)msg_buf, _(" (Interrupted)"), MSG_BUF_LEN);
|
||||
}
|
||||
if (msg(msg_buf)) {
|
||||
set_keep_msg(msg_buf, 0);
|
||||
keep_msg_more = TRUE;
|
||||
|
Reference in New Issue
Block a user