From: Jürgen Spitzmüller Date: Mon, 5 Nov 2007 07:55:32 +0000 (+0000) Subject: * src/mathed/MathParser.cpp (getChar): X-Git-Tag: 1.6.10~7484 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=45399e1e7a88a75fa1cf528b9048d44eed49ae89;p=features.git * src/mathed/MathParser.cpp (getChar): - return 0 instead of char_type(), which is unpredictable. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21426 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp index 5b811fcc98..daac331da5 100644 --- a/src/mathed/MathParser.cpp +++ b/src/mathed/MathParser.cpp @@ -466,7 +466,7 @@ char_type Parser::getChar() if (!good()) { error("The input stream is not well..."); putback(); - return char_type(); + return 0; } return tokens_[pos_++].character(); }