Simple fix attached. Ok to apply?

Andre'
Index: math_gridinset.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_gridinset.C,v
retrieving revision 1.83
diff -u -p -r1.83 math_gridinset.C
--- math_gridinset.C    28 Aug 2002 16:40:03 -0000      1.83
+++ math_gridinset.C    25 Sep 2002 15:58:47 -0000
@@ -1004,6 +1004,9 @@ MathInset::result_type MathGridInset::di
                        // split cell
                        splitCell(idx, pos);
                        std::swap(cell(idx), cell(idx + ncols() - 1));
+                       if (idx > 0)
+                               --idx;
+                       pos = cell(idx).size();
                
                        //mathcursor->normalize();
                        //updateLocal(bv, true);

Reply via email to