]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMath.cpp
Improve spacing of BOX elements
[features.git] / src / mathed / InsetMath.cpp
index e22adb686df688ef79144a5fbc6ea874f135de6f..ba559e7eb6b4888080cc140c303526125602a65a 100644 (file)
@@ -60,9 +60,8 @@ MathClass InsetMath::mathClass() const
 
 bool InsetMath::addToMathRow(MathRow & mrow, MetricsInfo & ) const
 {
-       MathRow::Element e(MathRow::INSET);
+       MathRow::Element e(MathRow::INSET, mathClass());
        e.inset = this;
-       e.mclass = mathClass();
        mrow.push_back(e);
        return true;
 }