diff --git a/src/text3.C b/src/text3.C index 154d58528e..008347710a 100644 --- a/src/text3.C +++ b/src/text3.C @@ -144,8 +144,9 @@ namespace { replaceSelection(cur); if (sel.empty()) { + //const int old_pos = cur.pos(); cur.insert(new InsetMathHull(hullSimple)); - BOOST_ASSERT(old_pos == cur.pos()); + //BOOST_ASSERT(old_pos == cur.pos()); cur.nextInset()->edit(cur, true); // don't do that also for LFUN_MATH_MODE // unless you want end up with always changing