From a719f03d07c7be927bd6bee967b2f244f346e419 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 4 Mar 2003 15:15:58 +0000 Subject: [PATCH] Jean-Marc's fix for wrong descent git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6337 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_braceinset.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_braceinset.C b/src/mathed/math_braceinset.C index 0bb24a6e05..4cd94c1950 100644 --- a/src/mathed/math_braceinset.C +++ b/src/mathed/math_braceinset.C @@ -35,7 +35,7 @@ void MathBraceInset::metrics(MathMetricsInfo & mi) const mathed_char_dim(mi.base.font, '{', t); wid_ = t.w; dim_.a = max(cell(0).ascent(), t.a); - dim_.d = max(cell(0).descent(), t.a); + dim_.d = max(cell(0).descent(), t.d); dim_.w = cell(0).width() + 2 * wid_; } -- 2.39.2