]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathParser.cpp
No need to call t.character() as the char is already available in c.
[features.git] / 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();