]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.cpp
Simplify Changers interface
[lyx.git] / src / mathed / InsetMathSymbol.cpp
index 01bafe614d9b0748f94cc0d41160d20744f30460..885aa60f01f911c57ebcd9f54f221d50b57d9987 100644 (file)
@@ -72,7 +72,7 @@ void InsetMathSymbol::metrics(MetricsInfo & mi, Dimension & dim) const
        }
        // set scriptable_
        scriptable_ = false;
-       if (mi.base.style == LM_ST_DISPLAY)
+       if (mi.base.font.style() == LM_ST_DISPLAY)
                if (sym_->inset == "cmex" || sym_->inset == "esint" ||
                    sym_->extra == "funclim" ||
                    (sym_->inset == "stmry" && sym_->extra == "mathop"))