From: Uwe Stöhr Date: Mon, 25 May 2009 22:42:22 +0000 (+0000) Subject: InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx... X-Git-Tag: 2.0.0~6446 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e83c2032acca21ea6b895328c81bdd5802e174cc;p=lyx.git InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151588.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29847 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathFrac.cpp b/src/mathed/InsetMathFrac.cpp index dc848fe611..011e5e2c81 100644 --- a/src/mathed/InsetMathFrac.cpp +++ b/src/mathed/InsetMathFrac.cpp @@ -223,7 +223,7 @@ void InsetMathFrac::draw(PainterInfo & pi, int x, int y) const ShapeChanger dummy2(pi.base.font, UP_SHAPE); cell(0).draw(pi, x + 2, y - dim0.des - 5); cell(1).draw(pi, x + dim0.width() + 5, y + dim1.asc / 2); - } else if (kind_ == FRAC) { + } else if (kind_ == FRAC || kind_ == OVER) { cell(0).draw(pi, m - dim0.wid / 2, y - dim0.des - 2 - 5); cell(1).draw(pi, m - dim1.wid / 2, y + dim1.asc + 2 - 5); } else if (kind_ == TFRAC) {