Skip to content

Commit fc8a3d5

Browse files
committed
combine condition with next
1 parent 5c85d8e commit fc8a3d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/training/validate_myanmar.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ bool ValidateMyanmar::ConsumeOptionalSignsIfPresent() {
135135
/* static */
136136
bool ValidateMyanmar::IsMyanmarLetter(char32 ch) {
137137
return (0x1000 <= ch && ch <= 0x102a) || ch == 0x103f ||
138-
(0x104c <= ch && ch <= 0x104f) ||
139-
(0x1050 <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) ||
138+
(0x104c <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) ||
140139
ch == 0x1061 || ch == 0x1065 || ch == 0x1066 ||
141140
(0x106e <= ch && ch <= 0x1070) || (0x1075 <= ch && ch <= 0x1080) ||
142141
ch == 0x108e || (0xa9e0 <= ch && ch <= 0xa9ef) ||

0 commit comments

Comments
 (0)