]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
Patch from Peter.
[lyx.git] / src / Cursor.cpp
index cadd54c5809d8959ef81e79ac206ebc901d2feb2..572e062876d461d8680adb218b857e59c51eddc2 100644 (file)
@@ -2088,7 +2088,7 @@ bool notifyCursorLeavesOrEnters(Cursor const & old, Cursor & cur)
            && !cur.buffer()->isClean()
            && cur.inTexted() && old.inTexted()
            && cur.pit() != old.pit()) {
-               old.paragraph().updateWords(old.top());
+               old.paragraph().updateWords();
        }
 
        // notify everything on top of the common part in old cursor,