From 8098065d59c58fe3e15719e859536235e63d3adb Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 15 Apr 2008 17:26:19 +0000 Subject: [PATCH] Release compile fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24275 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Text3.cpp b/src/Text3.cpp index 579c10fe8b..9e8ce03dd8 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -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 -- 2.39.2