mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +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 {
|
} else {
|
||||||
char_type c = getUChar(buf.masterBuffer()->params(), runparams, i);
|
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);
|
delayedChars.push_back(c);
|
||||||
else
|
else
|
||||||
*xs << c;
|
*xs << c;
|
||||||
|
Loading…
Reference in New Issue
Block a user