]> Kevux Git Server - fll/commitdiff
Cleanup: Use correct range.
authorKevin Day <thekevinday@gmail.com>
Tue, 14 Jun 2022 12:24:24 +0000 (07:24 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 14 Jun 2022 12:24:24 +0000 (07:24 -0500)
This is not a problem because but it does contain ranges that can never match.

level_0/f_utf/c/private-utf_combining.c

index 1cdbed427a6508e78d1506e12812c87dc2382e1f..16d39406712663ca02cabc612e4bffae2ef0fe93 100644 (file)
@@ -82,15 +82,15 @@ extern "C" {
           return F_true;
         }
 
-        // Syriac: U+0730 to U+074A.
-        if (character >= 0xdcb00000 && character <= 0xdd8a0000) {
+        // Syriac: U+0730 to U+073F.
+        if (character >= 0xdcb00000 && character <= 0xdcbf0000) {
           return F_true;
         }
       }
       else if (macro_f_utf_char_t_to_char_1(character) == 0xdd) {
 
-        // Syriac: U+0730 to U+074A.
-        if (character >= 0xdcb00000 && character <= 0xdd8a0000) {
+        // Syriac: U+0740 to U+074A.
+        if (character >= 0xdd800000 && character <= 0xdd8a0000) {
           return F_true;
         }
       }