]> git.lyx.org Git - lyx.git/commitdiff
InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx...
authorUwe Stöhr <uwestoehr@web.de>
Mon, 25 May 2009 22:42:22 +0000 (22:42 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Mon, 25 May 2009 22:42:22 +0000 (22:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29847 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathFrac.cpp

index dc848fe6117ad9165507ee53b7467309b37807f9..011e5e2c813e0cb90d760f6a1369d9adb80d18b7 100644 (file)
@@ -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) {