Fix copy/paste error spotted by coverity.

This commit is contained in:
Juergen Spitzmueller 2019-02-18 15:12:34 +01:00
parent c521e3e1de
commit dbe963a1ef

View File

@ -174,7 +174,7 @@ docstring const stateText(FontInfo const & f, bool const terse)
if (f.strikeout() != FONT_INHERIT && (!terse || f.strikeout() == FONT_ON)) if (f.strikeout() != FONT_INHERIT && (!terse || f.strikeout() == FONT_ON))
os << bformat(_("Strike out %1$s, "), os << bformat(_("Strike out %1$s, "),
_(GUIMiscNames[f.strikeout()])); _(GUIMiscNames[f.strikeout()]));
if (f.xout() != FONT_INHERIT && (!terse || f.strikeout() == FONT_ON)) if (f.xout() != FONT_INHERIT && (!terse || f.xout() == FONT_ON))
os << bformat(_("Cross out %1$s, "), os << bformat(_("Cross out %1$s, "),
_(GUIMiscNames[f.xout()])); _(GUIMiscNames[f.xout()]));
if (f.noun() != FONT_INHERIT && (!terse || f.noun() != FONT_IGNORE)) if (f.noun() != FONT_INHERIT && (!terse || f.noun() != FONT_IGNORE))