From 45399e1e7a88a75fa1cf528b9048d44eed49ae89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 5 Nov 2007 07:55:32 +0000 Subject: [PATCH] * 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 --- src/mathed/MathParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2