mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
* 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:
parent
9754bc398c
commit
e196b2c531
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user