* src/mathed/MathParser.cpp (getChar):

- return 0 instead of char_type(), which is unpredictable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21427 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-11-05 07:56:20 +00:00
parent 9754bc398c
commit e196b2c531

View File

@ -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();
}