]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.cpp
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathScript.cpp
index 482315f28ca2fa8125d690580e7dc00d5bc24dee..5c4fcbfb3ed9919215e9dd56b1a72298b70aa9a5 100644 (file)
@@ -525,6 +525,8 @@ bool InsetMathScript::idxUpDown(Cursor & cur, bool up) const
 
 void InsetMathScript::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
+
        if (nuc().size()) {
                os << nuc();
                //if (nuc().back()->takesLimits()) {