git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19393
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-02-03 George Staikos <staikos@kde.org>
+
+ Reviewed by Alexey.
+
+ -1 is not a valid point. We can't handle anything > 0xffff anyway.
+ Fixes crash on cases like eval("x");
+
+ * wtf/unicode/qt4/UnicodeQt4.h:
+ (WTF::Unicode::category):
+
2007-02-02 Darin Adler <darin@apple.com>
Reviewed by Anders.
inline CharCategory category(UChar32 c)
{
if (c > 0xffff)
- return (CharCategory) U_MASK(QChar::Letter_Other);
+ return NoCategory;
return (CharCategory) U_MASK(QChar(c).category());
}