From af79834d8943f3270f5fced8c43f19eb0dd35534 Mon Sep 17 00:00:00 2001 From: David Baer Date: Sun, 22 Jan 2017 19:52:14 -0500 Subject: [PATCH] Change parens --- src/utf8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utf8.c b/src/utf8.c index 44215ea..7e10c65 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -73,7 +73,7 @@ uint32_t utf8CharAt(const utf8iterator* iter) { ((uint32_t)(iter->txt[byteIndex] & 0x03) << 24); } 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 + 3] & 0xc0) == 0x80) && ((iter->txt[byteIndex + 4] & 0xc0) == 0x80) && @@ -112,7 +112,7 @@ _next_offset(const utf8iterator* iter) { ((iter->txt[byteIndex + 4] & 0xc0) == 0x80)) { return 5; } 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 + 3] & 0xc0) == 0x80) && ((iter->txt[byteIndex + 4] & 0xc0) == 0x80) &&