]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_symbolinset.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_symbolinset.C
index b366a7cc94e37512537aabcc639749c44062e50f..523d0727704172dfe3649de535538f584373325e 100644 (file)
@@ -109,7 +109,7 @@ void MathSymbolInset::draw(PainterInfo & pi, int x, int y) const
                x += static_cast<int>(0.0833*em+0.5);
 
        FontSetChanger dummy(pi.base, sym_->inset.c_str());
-       drawStr(pi, pi.base.font, x, y - h_, sym_->draw);
+       pi.draw(x, y - h_, sym_->draw);
 }