]> git.lyx.org Git - features.git/commitdiff
No need to call t.character() as the char is already available in c.
authorEnrico Forestieri <forenr@lyx.org>
Sun, 5 Apr 2009 01:49:25 +0000 (01:49 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 5 Apr 2009 01:49:25 +0000 (01:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29097 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathParser.cpp

index 362b67193e3025d36588ee59b0957e5502a32718..c16e3cfe06d9b59fc0b48b482ac042691f595fa1 100644 (file)
@@ -914,7 +914,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
                                cell->push_back(MathAtom(new InsetMathChar(c)));
                        } else {
                                MathAtom at = createInsetMath("text");
-                               at.nucleus()->cell(0).push_back(MathAtom(new InsetMathChar(t.character())));
+                               at.nucleus()->cell(0).push_back(MathAtom(new InsetMathChar(c)));
                                while (nextToken().cat() == catOther
                                       && nextToken().character() >= 0x80) {
                                        c = getToken().character();