]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnv.cpp
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathEnv.cpp
index 82460b986c539f7a8857eca038824f4849726de7..3daba8179de46d9030624ae1fe26fcba5a299d1d 100644 (file)
@@ -48,6 +48,7 @@ void InsetMathEnv::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathEnv::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << "\\begin{" << name_ << '}' << cell(0) << "\\end{" << name_ << '}';
 }