]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSqrt.cpp
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathSqrt.cpp
index 941ad92b92f8d8e41a4af15b78dbc5c5f2d74b98..ab63ac1e447ec4f984464c063bf45caf1e9c7d74 100644 (file)
@@ -80,6 +80,7 @@ void InsetMathSqrt::drawT(TextPainter & /*pain*/, int /*x*/, int /*y*/) const
 
 void InsetMathSqrt::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << "\\sqrt{" << cell(0) << '}';
 }