]> git.lyx.org Git - features.git/commitdiff
revert the obviously incorrect fix of rev. 19001.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 6 Jul 2007 15:50:39 +0000 (15:50 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 6 Jul 2007 15:50:39 +0000 (15:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19002 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/lstrings.cpp

index 6c48a90ee453275fbef7d0615bb7585256044fb0..8568b2f7e059294ee1a002335edf32b38b0c8e45 100644 (file)
@@ -248,7 +248,7 @@ bool isAscii(docstring const & str)
 {
        int const len = str.length();
        for (int i = 0; i < len; ++i)
-               if (static_cast<unsigned char>(str[i]) >= 0x80)
+               if (str[i] >= 0x80)
                        return false;
        return true;
 }