Correct the mess introduced in r33250.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33251 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-28 20:03:09 +00:00
parent 61eecb8a44
commit 489b80aef4

View File

@ -1006,7 +1006,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
case LFUN_REGEXP_MODE: {
InsetMathHull * i = dynamic_cast<InsetMathHull *>(cur.inset().asInsetMath());
if (i && i->getType() == hullRegexp) {
cur.message(_("Already in regulare expression mode"));
cur.message(_("Already in regular expression mode"));
break;
}
cur.macroModeClose();
@ -1018,7 +1018,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
cur.niceInsert(save_selection);
cur.message(_("Regular expression editor mode"));
break;
}
case LFUN_MATH_FONT_STYLE: {
FuncRequest fr = FuncRequest(LFUN_MATH_INSERT, '\\' + cmd.argument());