Changeset 33485 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- May 15, 2008, 6:25:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h
r31899 r33485 304 304 } 305 305 for (int i = 0; i < srcLength; ++i) 306 result[i] = QChar::toCaseFolded( src[i]);306 result[i] = QChar::toCaseFolded(ushort(src[i])); 307 307 return srcLength; 308 308 } … … 376 376 // handle surrogates correctly 377 377 for (int i = 0; i < len; ++i) { 378 uint c1 = QChar::toCaseFolded( a[i]);379 uint c2 = QChar::toCaseFolded( b[i]);378 uint c1 = QChar::toCaseFolded(ushort(a[i])); 379 uint c2 = QChar::toCaseFolded(ushort(b[i])); 380 380 if (c1 != c2) 381 381 return c1 - c2;
Note:
See TracChangeset
for help on using the changeset viewer.