Skip to content

Commit

Permalink
improve readability of commit 198664f
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Apr 17, 2018
1 parent cd0a3e0 commit 4b468e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions training/validator.cpp
Expand Up @@ -177,9 +177,9 @@ bool Validator::IsVirama(char32 unicode) {
// Returns true if the given UTF-32 unicode is a vedic accent.
/* static */
bool Validator::IsVedicAccent(char32 unicode) {
return 0x1cd0 <= unicode && unicode < 0x1d00 ||
0xa8e0 <= unicode && unicode <= 0xa8f7 ||
0x951 <= unicode && unicode <= 0x954;
return (0x1cd0 <= unicode && unicode < 0x1d00) ||
(0xa8e0 <= unicode && unicode <= 0xa8f7) ||
(0x951 <= unicode && unicode <= 0x954);
}

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

0 comments on commit 4b468e1

Please sign in to comment.