From: Abdelrazak Younes Date: Tue, 15 Apr 2008 17:26:19 +0000 (+0000) Subject: Release compile fix. X-Git-Tag: 1.6.10~5174 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8098065d59c58fe3e15719e859536235e63d3adb;p=lyx.git Release compile fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24275 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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