]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.cpp
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathRoot.cpp
index f9424ed4ed211be9519026b7de6a14b832d5bac3..95ad1a3e06b678070ba04732ebf85cb1a6e55912 100644 (file)
@@ -72,6 +72,7 @@ void InsetMathRoot::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathRoot::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << "\\sqrt[" << cell(0) << "]{" << cell(1) << '}';
 }