diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp index c38acca7ed..d95d1d20e2 100644 --- a/src/mathed/MathParser.cpp +++ b/src/mathed/MathParser.cpp @@ -2089,13 +2089,11 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags, getToken(); if (nextToken().cat() == catEnd) { getToken(); - num_tokens += 2; } else putback(); } else { while (nextToken().cat() == catSpace) { getToken(); - ++num_tokens; } } }