]> git.lyx.org Git - features.git/commitdiff
Copy&Paste fix.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 1 Oct 2007 08:37:13 +0000 (08:37 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 1 Oct 2007 08:37:13 +0000 (08:37 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20623 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathFrac.cpp

index c7539add69192ae0ec97ed333dec46a4e7ad84ad..896d0a247584dd1a5edee4e3f8a3e0816c024097 100644 (file)
@@ -141,7 +141,7 @@ void InsetMathFrac::draw(PainterInfo & pi, int x, int y) const
        Dimension const dim = dimension(*pi.base.bv);
        Dimension const dim0 = cell(0).dimension(*pi.base.bv);
        Dimension const dim1 = cell(1).dimension(*pi.base.bv);
-       Dimension const dim2 = cell(0).dimension(*pi.base.bv);
+       Dimension const dim2 = cell(2).dimension(*pi.base.bv);
        int m = x + dim.wid / 2;
        if (kind_ == UNIT || (kind_ == UNITFRAC && nargs() == 3)) {
                if (nargs() == 1) {