mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* src/mathed/MathParser.cpp (getChar):
- empty return if the char is not good() (fix bug 4318). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21424 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
32f92613c1
commit
9754bc398c
@ -463,8 +463,11 @@ bool Parser::good() const
|
||||
|
||||
char_type Parser::getChar()
|
||||
{
|
||||
if (!good())
|
||||
if (!good()) {
|
||||
error("The input stream is not well...");
|
||||
putback();
|
||||
return char_type();
|
||||
}
|
||||
return tokens_[pos_++].character();
|
||||
}
|
||||
|
||||
|
@ -74,6 +74,8 @@ What's new
|
||||
|
||||
- Fix a crash when some files or directories are not readable.
|
||||
|
||||
- Fix a crash when pasting into a math formula (bug 4318).
|
||||
|
||||
- Fix updating of externally modified files on Windows (bug 3172).
|
||||
|
||||
- Repair wasy font such that it can also be used on Mac (bug 2326).
|
||||
@ -104,8 +106,8 @@ What's new
|
||||
|
||||
- Really highlight search text (bug 3999).
|
||||
|
||||
- Fix bug where the spellchecker didn't update the screen display on the last of
|
||||
several misspelt words (bug 3586).
|
||||
- Fix a bug where the spellchecker didn't update the screen display on the last
|
||||
of several misspelt words (bug 3586).
|
||||
|
||||
- Do not close the error dialog on double click (bug 4090).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user