mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Amend 249d899
Non-ASCII characters make std::isspace crash, but not lyx::isSpace.
This commit is contained in:
parent
3d46cc302b
commit
6a0e93f162
@ -3430,7 +3430,7 @@ std::vector<docstring> Paragraph::simpleDocBookOnePar(Buffer const & buf,
|
||||
}
|
||||
} else {
|
||||
char_type c = getUChar(buf.masterBuffer()->params(), runparams, i);
|
||||
if (std::isspace(c) && !ignore_fonts)
|
||||
if (lyx::isSpace(c) && !ignore_fonts)
|
||||
delayedChars.push_back(c);
|
||||
else
|
||||
*xs << c;
|
||||
|
Loading…
Reference in New Issue
Block a user