QUrl: do not retest if a codepoint is less than 0xFFFF

It's already tested in the surrounding if.

Change-Id: I37e13406cfd4865731ce06ed097c03294a75c592
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Giuseppe D'Angelo 2020-06-29 13:26:03 +02:00
parent 6ed9b484da
commit 5fa016f284

View File

@ -1525,7 +1525,7 @@ namespace {
|| (uc >= 0xE000 && uc <= 0xF8FF)
|| (uc >= 0xFDD0 && uc <= 0xFDEF)
|| uc == 0xFEFF
|| (uc >= 0xFFF9 && uc <= 0xFFFF))) {
|| uc >= 0xFFF9)) {
return false;
}
} else {