Martin Vermeer wrote:
Abdel,

we have a problem... are you sure the stuff you did with dimension and
coord cache is OK for InsetMathFrac? I see misrendering and crashes,
but the latter only for UNIT.

Should be better now.

Abdel.

Author: younes
Date: Mon Oct  1 10:37:13 2007
New Revision: 20623

URL: http://www.lyx.org/trac/changeset/20623
Log:
Copy&Paste fix.

Modified:
    lyx-devel/trunk/src/mathed/InsetMathFrac.cpp

Modified: lyx-devel/trunk/src/mathed/InsetMathFrac.cpp
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathFrac.cpp?rev=20623
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathFrac.cpp (original)
+++ lyx-devel/trunk/src/mathed/InsetMathFrac.cpp Mon Oct  1 10:37:13 2007
@@ -141,7 +141,7 @@
        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) {




Reply via email to