small bugfix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4478 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-06-25 14:06:52 +00:00
parent ac6f91abb7
commit a928cdd8a2

View File

@ -758,12 +758,12 @@ void Parser::parse_into1(MathGridInset & grid, unsigned flags,
// //
else if (t.cs() == "(") { else if (t.cs() == "(") {
cell->push_back(MathAtom(new MathHullInset(LM_OT_SIMPLE))); cell->push_back(MathAtom(new MathHullInset(LM_OT_SIMPLE)));
parse_into2(cell->back(), FLAG_SIMPLE2, true, true); parse_into2(cell->back(), FLAG_SIMPLE2, true, false);
} }
else if (t.cs() == "[") { else if (t.cs() == "[") {
cell->push_back(MathAtom(new MathHullInset(LM_OT_EQUATION))); cell->push_back(MathAtom(new MathHullInset(LM_OT_EQUATION)));
parse_into2(cell->back(), FLAG_EQUATION, true, true); parse_into2(cell->back(), FLAG_EQUATION, true, false);
} }
else if (t.cs() == "protect") else if (t.cs() == "protect")