Commit 27fbe8df authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 705218 - QRegExp doesn't work with 80-FF

parent 569dc007
......@@ -372,7 +372,7 @@ static bool matchcharclass( uint *rxd, char c )
if ( clcode != CCL && clcode != CCN)
qWarning("QRegExp: Internal error, please report to qt-bugs@trolltech.com");
uint numFields = *d & MVL;
uint cval = (uint)c; //(((uint)(c.row())) << 8) | ((uint)c.cell());
uint cval = (unsigned char)c; //(((uint)(c.row())) << 8) | ((uint)c.cell());
bool found = FALSE;
for ( int i = 0; i < (int)numFields; i++ ) {
d++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment