revert to 1.1.6 behaviour for \macroname{

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5318 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-09-19 06:52:13 +00:00
parent 7c538fc516
commit d6c90178f3

View File

@ -1232,7 +1232,9 @@ bool MathCursor::interpret(char c)
// leave macro mode and try again if necessary
macroModeClose();
if (c != ' ')
if (c == '{')
niceInsert(MathAtom(new MathBraceInset));
else if (c != ' ')
interpret(c);
return true;
}