From 58ff84f5087b8d22416e902605dbb35a47cc8e7d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 8 Apr 2004 15:57:32 +0000 Subject: [PATCH] and this... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8639 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_undersetinset.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_undersetinset.C b/src/mathed/math_undersetinset.C index 659cdc6341..8dd90e0e3e 100644 --- a/src/mathed/math_undersetinset.C +++ b/src/mathed/math_undersetinset.C @@ -41,7 +41,7 @@ void MathUndersetInset::metrics(MetricsInfo & mi, Dimension & dim) const void MathUndersetInset::draw(PainterInfo & pi, int x, int y) const { - int m = x + pi.width / 2; + int m = x + width() / 2; int yo = y + cell(1).descent() + cell(0).ascent() + 1; cell(1).draw(pi, m - cell(1).width() / 2, y); FracChanger dummy(pi.base); -- 2.39.5