]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.cpp
Preserve \inputencoding value when switching to non-TeX fonts.
[lyx.git] / src / mathed / InsetMathSymbol.cpp
index 92d2573560a4ad808141d0d999f7263ac77012ea..5603cfedd5348acf69b1147473d00b5eaad0fe6f 100644 (file)
@@ -72,7 +72,7 @@ void InsetMathSymbol::metrics(MetricsInfo & mi, Dimension & dim) const
        }
        // set scriptable_
        scriptable_ = false;
-       if (mi.base.font.style() == LM_ST_DISPLAY)
+       if (mi.base.font.style() == DISPLAY_STYLE)
                if (sym_->inset == "cmex" || sym_->inset == "esint" ||
                    sym_->extra == "funclim" ||
                    (sym_->inset == "stmry" && sym_->extra == "mathop"))