]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathParser.cpp
Revert part of 503c7c16: InsetMathNest:edit resets anchor.
[features.git] / src / mathed / MathParser.cpp
index 6d1b74741e74540d2aa7ce040b7b8aa13771eb1f..0ba33751865b37ca10a9bbe0b78e7cad80df19d7 100644 (file)
@@ -1369,7 +1369,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
                        // otherwise parse it as an user macro
                        MathData count;
                        parse(count, FLAG_ITEM, mode);
-                       int cols;
+                       int cols = 0;
                        // limit arbitrarily to 100 columns
                        if (extractNumber(count, cols) && cols > 0 && cols < 100) {
                                // resize the table if necessary