]> git.lyx.org Git - lyx.git/blobdiff - src/Text2.cpp
Typo.
[lyx.git] / src / Text2.cpp
index 1e2a88df5c0117ad70cedccc4914166e2bbc1d94..dba04960533e0ee8a669c1028643b1734952a59e 100644 (file)
@@ -386,8 +386,7 @@ void Text::toggleFree(Cursor & cur, Font const & font, bool toggleall)
 {
        LASSERT(this == cur.text(), /**/);
        // If the mask is completely neutral, tell user
-       if (font.fontInfo() == ignore_font && 
-               (font.language() == 0 || font.language() == ignore_language)) {
+       if (font.fontInfo() == ignore_font && font.language() == ignore_language) {
                // Could only happen with user style
                cur.message(_("No font change defined."));
                return;