Change parens
This commit is contained in:
@@ -73,7 +73,7 @@ uint32_t utf8CharAt(const utf8iterator* iter) {
|
|||||||
((uint32_t)(iter->txt[byteIndex] & 0x03) << 24);
|
((uint32_t)(iter->txt[byteIndex] & 0x03) << 24);
|
||||||
|
|
||||||
} else if (((iter->txt[byteIndex] & 0xf7) == 0xfc) &&
|
} else if (((iter->txt[byteIndex] & 0xf7) == 0xfc) &&
|
||||||
((iter->txt[byteIndex + 1]) & 0xc0 == 0x80) &&
|
((iter->txt[byteIndex + 1] & 0xc0) == 0x80) &&
|
||||||
((iter->txt[byteIndex + 2] & 0xc0) == 0x80) &&
|
((iter->txt[byteIndex + 2] & 0xc0) == 0x80) &&
|
||||||
((iter->txt[byteIndex + 3] & 0xc0) == 0x80) &&
|
((iter->txt[byteIndex + 3] & 0xc0) == 0x80) &&
|
||||||
((iter->txt[byteIndex + 4] & 0xc0) == 0x80) &&
|
((iter->txt[byteIndex + 4] & 0xc0) == 0x80) &&
|
||||||
@@ -112,7 +112,7 @@ _next_offset(const utf8iterator* iter) {
|
|||||||
((iter->txt[byteIndex + 4] & 0xc0) == 0x80)) {
|
((iter->txt[byteIndex + 4] & 0xc0) == 0x80)) {
|
||||||
return 5;
|
return 5;
|
||||||
} else if (((iter->txt[byteIndex] & 0xf7) == 0xfc) &&
|
} else if (((iter->txt[byteIndex] & 0xf7) == 0xfc) &&
|
||||||
((iter->txt[byteIndex + 1]) & 0xc0 == 0x80) &&
|
((iter->txt[byteIndex + 1] & 0xc0) == 0x80) &&
|
||||||
((iter->txt[byteIndex + 2] & 0xc0) == 0x80) &&
|
((iter->txt[byteIndex + 2] & 0xc0) == 0x80) &&
|
||||||
((iter->txt[byteIndex + 3] & 0xc0) == 0x80) &&
|
((iter->txt[byteIndex + 3] & 0xc0) == 0x80) &&
|
||||||
((iter->txt[byteIndex + 4] & 0xc0) == 0x80) &&
|
((iter->txt[byteIndex + 4] & 0xc0) == 0x80) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user