]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnderset.cpp
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathUnderset.cpp
index eb0f63b2eb83962320b13b27bcc0c2c7574cc57b..bb7212775b6ef40b96c5b33323750964ee276ea3 100644 (file)
@@ -84,9 +84,8 @@ bool InsetMathUnderset::idxUpDown(Cursor & cur, bool up) const
 
 void InsetMathUnderset::write(WriteStream & os) const
 {
-       bool brace = ensureMath(os);
+       MathEnsurer ensurer(os);
        os << "\\underset{" << cell(0) << "}{" << cell(1) << '}';
-       os.pendingBrace(brace);
 }