]> git.lyx.org Git - lyx.git/commitdiff
Release compile fix.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 15 Apr 2008 17:26:19 +0000 (17:26 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 15 Apr 2008 17:26:19 +0000 (17:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24275 a592a061-630c-0410-9148-cb99ea01b6c8

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