]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.C
This commit saves the need to check for lyx::use_gui in a number of places.
[lyx.git] / src / mathed / InsetMathScript.C
index b55962fb218c01e045c342fb0d921dc115a3fc92..b6bfa2fa87a1c81bb3aedc9d8830943702de5432 100644 (file)
@@ -246,7 +246,7 @@ void InsetMathScript::draw(PainterInfo & pi, int x, int y) const
        if (nuc().size())
                nuc().draw(pi, x + dxx(), y);
        else {
-               nuc().setXY(x + dxx(), y);
+               nuc().setXY(*pi.base.bv, x + dxx(), y);
                if (editing(pi.base.bv))
                         pi.draw(x + dxx(), y, char_type('.'));
        }