]> git.lyx.org Git - features.git/commitdiff
Fix bug 5764: http://bugzilla.lyx.org/show_bug.cgi?id=5764.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Feb 2009 14:14:30 +0000 (14:14 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Feb 2009 14:14:30 +0000 (14:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28399 a592a061-630c-0410-9148-cb99ea01b6c8

src/Cursor.cpp

index 346062a470f8492e10c48c89c548c2f00d3699d2..ce6997ed5981d87ab285a9626e72da4a2657501a 100644 (file)
@@ -525,7 +525,8 @@ bool Cursor::posVisRight(bool skip_inset)
 
        bool moved = (new_cur.pos() != pos()
                                  || new_cur.pit() != pit()
-                                 || new_cur.boundary() != boundary());
+                                 || new_cur.boundary() != boundary()
+                                 || &new_cur.inset() != &inset());
        
        if (moved) {
                LYXERR(Debug::RTL, "moving to: " << new_cur.pos()