aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-02-22 12:59:39 -0800
committerGitHub <noreply@github.com>2020-02-22 12:59:39 -0800
commit93c6eb4a668b52394667feca86d5e57731828528 (patch)
treedd7c5bb794851892cbaa37fb22f197bc7d946f37 /src/nvim/edit.c
parentff1730373c6139db14b8f2f9b24d4ccd7fcfb01d (diff)
downloadrneovim-93c6eb4a668b52394667feca86d5e57731828528.tar.gz
rneovim-93c6eb4a668b52394667feca86d5e57731828528.tar.bz2
rneovim-93c6eb4a668b52394667feca86d5e57731828528.zip
PVS/V618: fix printf-style args #11888
We intentionally do not translate API errors. ref: https://github.com/neovim/neovim/issues/6150
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 3e57bc8599..e41f9c0381 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -4083,7 +4083,7 @@ static int ins_compl_get_exp(pos_T *ini)
type = CTRL_X_PATH_DEFINES;
else if (*e_cpt == ']' || *e_cpt == 't') {
type = CTRL_X_TAGS;
- vim_snprintf((char *)IObuff, IOSIZE, _("Scanning tags."));
+ vim_snprintf((char *)IObuff, IOSIZE, "%s", _("Scanning tags."));
(void)msg_trunc_attr(IObuff, true, HL_ATTR(HLF_R));
} else {
type = -1;