]> git.lyx.org Git - features.git/blobdiff - src/Cursor.cpp
Some cosmetics after r32157.
[features.git] / src / Cursor.cpp
index 14e31f922cd4731c8b8820f6c8379df5907b8400..349725c579ef0cd184123e63e589c9a4c17502ca 100644 (file)
@@ -2163,9 +2163,9 @@ bool notifyCursorLeavesOrEnters(Cursor const & old, Cursor & cur)
        // notify everything on top of the common part in old cursor,
        // but stop if the inset claims the cursor to be invalid now
        for (size_type j = i; j < old.depth(); ++j) {
-               Cursor insetPos = old;
-               insetPos.cutOff(j);
-               if (old[j].inset().notifyCursorLeaves(insetPos, cur))
+               Cursor inset_pos = old;
+               inset_pos.cutOff(j);
+               if (old[j].inset().notifyCursorLeaves(inset_pos, cur))
                        return true;
        }