Skip to content

Commit 4b468e1

Browse files
committed
improve readability of commit 198664f
1 parent cd0a3e0 commit 4b468e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

training/validator.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ bool Validator::IsVirama(char32 unicode) {
177177
// Returns true if the given UTF-32 unicode is a vedic accent.
178178
/* static */
179179
bool Validator::IsVedicAccent(char32 unicode) {
180-
return 0x1cd0 <= unicode && unicode < 0x1d00 ||
181-
0xa8e0 <= unicode && unicode <= 0xa8f7 ||
182-
0x951 <= unicode && unicode <= 0x954;
180+
return (0x1cd0 <= unicode && unicode < 0x1d00) ||
181+
(0xa8e0 <= unicode && unicode <= 0xa8f7) ||
182+
(0x951 <= unicode && unicode <= 0x954);
183183
}
184184

185185
// Returns true if the script is one that uses subscripts for conjuncts.

0 commit comments

Comments
 (0)