]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
Push r38098 again in
[lyx.git] / src / TextMetrics.cpp
index 2a74ddd1d797ab4788bcf30a3fe2edbe0a8ba507..085040990dfe8f8da9089b0a291c901704f0b8a9 100644 (file)
@@ -1495,7 +1495,7 @@ Inset * TextMetrics::editXY(Cursor & cur, int x, int y,
        // This should be just before or just behind the
        // cursor position set above.
        LASSERT(inset == inset_before 
-               || inset == pars[pit].getInset(pos), /**/);
+               || inset == pars[pit].getInset(pos), return 0);
 
        // Make sure the cursor points to the position before
        // this inset.