mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
revert the obviously incorrect fix of rev. 19001.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19002 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
46214d708c
commit
2caa734edf
@ -248,7 +248,7 @@ bool isAscii(docstring const & str)
|
|||||||
{
|
{
|
||||||
int const len = str.length();
|
int const len = str.length();
|
||||||
for (int i = 0; i < len; ++i)
|
for (int i = 0; i < len; ++i)
|
||||||
if (static_cast<unsigned char>(str[i]) >= 0x80)
|
if (str[i] >= 0x80)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user