]> git.lyx.org Git - lyx.git/commitdiff
mathed61.diff
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 15 Mar 2001 18:22:33 +0000 (18:22 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 15 Mar 2001 18:22:33 +0000 (18:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1778 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_cursor.C

index 39788c167a2651fde0b014d823ecba6eb120dd81..6c98a0638cc48698703266b64757218c50c2a4ea 100644 (file)
@@ -1,3 +1,9 @@
+
+2001-03-15  André Pönitz  <poenitz@htwm.de>
+
+       * math_cursor.C: fix bug (cursor was leaving two insets at a time instead
+          of one)
+
 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
 
        * math_macrotable.h: noncopyable is in namespace boost
index 5dd6966e386e2fc71c6a0e89ad5676bf7f89c1d4..40997ce9426df62aeeabe481563210e8c50fe0b5 100644 (file)
@@ -79,7 +79,8 @@ struct MathStackXIter {
        }
 
        MathedXIter * pop() {
-               return &item[--i];
+    --i;
+               return &item[i - 1];
        }
 
        MathedXIter * Item(int idx) {