From fc8a3d5bbc4cb6208cc3661457548a951fc143b4 Mon Sep 17 00:00:00 2001 From: pndaza Date: Sat, 24 Nov 2018 09:21:05 +0630 Subject: [PATCH] combine condition with next --- src/training/validate_myanmar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/training/validate_myanmar.cpp b/src/training/validate_myanmar.cpp index a2f4e674..ca6661a5 100644 --- a/src/training/validate_myanmar.cpp +++ b/src/training/validate_myanmar.cpp @@ -135,8 +135,7 @@ bool ValidateMyanmar::ConsumeOptionalSignsIfPresent() { /* static */ bool ValidateMyanmar::IsMyanmarLetter(char32 ch) { return (0x1000 <= ch && ch <= 0x102a) || ch == 0x103f || - (0x104c <= ch && ch <= 0x104f) || - (0x1050 <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) || + (0x104c <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) || ch == 0x1061 || ch == 0x1065 || ch == 0x1066 || (0x106e <= ch && ch <= 0x1070) || (0x1075 <= ch && ch <= 0x1080) || ch == 0x108e || (0xa9e0 <= ch && ch <= 0xa9ef) ||