]> git.lyx.org Git - features.git/blobdiff - src/cursor.C
This commit fixes a crash when accessing a math inset. This was due to an invalid...
[features.git] / src / cursor.C
index 69ba63b19533b118d1dd109d0311998487b4d8ba..2583ab12a8c16260bcefc5d4bee87ad06cf6eae5 100644 (file)
@@ -101,7 +101,7 @@ namespace {
                        int yo;
                        InsetBase const * inset = &it.inset();
                        Point o = c.bv().coordCache().getInsets().xy(inset);
-                       inset->cursorPos(it.top(), c.boundary(), xo, yo);
+                       inset->cursorPos(c.bv(), it.top(), c.boundary(), xo, yo);
                        // Convert to absolute
                        xo += o.x_;
                        yo += o.y_;