From: Lars Gullik Bjønnes Date: Thu, 15 Mar 2001 18:22:33 +0000 (+0000) Subject: mathed61.diff X-Git-Tag: 1.6.10~21448 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=483458d6d4fd40e3008764179c9296c0f561f138;p=lyx.git mathed61.diff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1778 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 39788c167a..6c98a0638c 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,9 @@ + +2001-03-15 André Pönitz + + * math_cursor.C: fix bug (cursor was leaving two insets at a time instead + of one) + 2001-03-15 Lars Gullik Bjønnes * math_macrotable.h: noncopyable is in namespace boost diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index 5dd6966e38..40997ce942 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -79,7 +79,8 @@ struct MathStackXIter { } MathedXIter * pop() { - return &item[--i]; + --i; + return &item[i - 1]; } MathedXIter * Item(int idx) {