]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
* src/LyXRC.{cpp,h}:
[lyx.git] / src / Cursor.cpp
index 2d8f777c6da1d692c625fd7a2c63908290ba0559..ac230a15e003cb2ca9ad18163e97f0e583bbce02 100644 (file)
@@ -675,7 +675,7 @@ bool Cursor::openable(MathAtom const & t) const
        // we can't move into anything new during selection
        if (depth() >= anchor_.depth())
                return false;
-       if (!ptr_cmp(t.nucleus(), &anchor_[depth()].inset()))
+       if (t.nucleus() != &anchor_[depth()].inset())
                return false;
 
        return true;