mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 04:58:33 +00:00
PVS/V618: fix emsgf format specifier #11643
This commit is contained in:

committed by
Justin M. Keyes

parent
e922576bdd
commit
dec165b268
@@ -625,7 +625,7 @@ spell_load_file (
|
||||
switch (scms_ret) {
|
||||
case SP_FORMERROR:
|
||||
case SP_TRUNCERROR: {
|
||||
emsgf(_("E757: This does not look like a spell file"));
|
||||
emsgf("%s", _("E757: This does not look like a spell file"));
|
||||
goto endFAIL;
|
||||
}
|
||||
case SP_OTHERERROR: {
|
||||
@@ -2654,8 +2654,9 @@ static afffile_T *spell_read_aff(spellinfo_T *spin, char_u *fname)
|
||||
}
|
||||
|
||||
if (compsylmax != 0) {
|
||||
if (syllable == NULL)
|
||||
smsg(_("COMPOUNDSYLMAX used without SYLLABLE"));
|
||||
if (syllable == NULL) {
|
||||
smsg("%s", _("COMPOUNDSYLMAX used without SYLLABLE"));
|
||||
}
|
||||
aff_check_number(spin->si_compsylmax, compsylmax, "COMPOUNDSYLMAX");
|
||||
spin->si_compsylmax = compsylmax;
|
||||
}
|
||||
|
Reference in New Issue
Block a user