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:
Abdelrazak Younes 2007-07-06 15:50:39 +00:00
parent 46214d708c
commit 2caa734edf

View File

@ -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;
} }