Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
None
-
I96c4c2b042bad478b7c704669e7ea0d574d3b22f
Description
Following code is used in QChar::digitValue(), I think that 'return 0' should be changed to 'return -1', because zero has meaning that the character is a digit value.
int QChar::digitValue(uint ucs4)
{
if (ucs4 > UNICODE_LAST_CODEPOINT)
return 0;
return qGetProp(ucs4)->digitValue;
}