]> git.lyx.org Git - features.git/commitdiff
compil fix
authorAbdelrazak Younes <younes@lyx.org>
Fri, 31 Aug 2007 14:26:43 +0000 (14:26 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 31 Aug 2007 14:26:43 +0000 (14:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19950 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathMBox.cpp

index 882c93b6189fc4e66576a2d05c9b87c6dec249e3..0e09e11b7a39da206ad6abc6904dae48c9e52e87 100644 (file)
@@ -67,7 +67,7 @@ bool InsetMathMBox::metrics(MetricsInfo & mi, Dimension & dim) const
 
 void InsetMathMBox::draw(PainterInfo & pi, int x, int y) const
 {
-       text_.draw(pi, x + 1, y);
+       pi.base.bv->textMetrics(&text_).draw(pi, x + 1, y);
        drawMarkers(pi, x, y);
 }