]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
this we don't need anymore
[lyx.git] / src / Text3.cpp
index 579c10fe8b050888d75fa31401e75fa13d15cd56..9e8ce03dd8acee195c4d042e7fc2534f9a973100 100644 (file)
@@ -131,7 +131,9 @@ static void mathDispatch(Cursor & cur, FuncRequest const & cmd, bool display)
                const int old_pos = cur.pos();
 #endif
                cur.insert(new InsetMathHull(hullSimple));
+#ifdef ENABLE_ASSERTIONS
                LASSERT(old_pos == cur.pos(), /**/);
+#endif
                cur.nextInset()->edit(cur, true);
                // don't do that also for LFUN_MATH_MODE
                // unless you want end up with always changing