]> git.lyx.org Git - features.git/commitdiff
Fix copy/paste error spotted by coverity.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 Feb 2019 14:12:34 +0000 (15:12 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 Feb 2019 14:14:16 +0000 (15:14 +0100)
src/Font.cpp

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