mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Fix typo spotted by cppcheck
This commit is contained in:
parent
b88f6ea3aa
commit
8715bab65c
@ -1458,7 +1458,7 @@ docstring bformat(docstring const & fmt, char const * arg1, docstring arg2)
|
|||||||
LATTEST(contains(fmt, from_ascii("%1$s")));
|
LATTEST(contains(fmt, from_ascii("%1$s")));
|
||||||
LATTEST(contains(fmt, from_ascii("%2$s")));
|
LATTEST(contains(fmt, from_ascii("%2$s")));
|
||||||
docstring str = subst(fmt, from_ascii("%1$s"), from_ascii(arg1));
|
docstring str = subst(fmt, from_ascii("%1$s"), from_ascii(arg1));
|
||||||
str = subst(fmt, from_ascii("%2$s"), arg2);
|
str = subst(str, from_ascii("%2$s"), arg2);
|
||||||
return subst(str, from_ascii("%%"), from_ascii("%"));
|
return subst(str, from_ascii("%%"), from_ascii("%"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user