summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-4.2.1-PATCHES/patch-20-fix-gt_ge
blob: 445aa07d7e5906795e8261b4e06481addbac393a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur icu-4.2.1.orig/source/layout/ClassDefinitionTables.cpp icu-4.2.1/source/layout/ClassDefinitionTables.cpp
--- icu-4.2.1.orig/source/layout/ClassDefinitionTables.cpp	2009-07-01 20:51:26.000000000 +0200
+++ icu-4.2.1/source/layout/ClassDefinitionTables.cpp	2009-10-22 23:15:27.000000000 +0200
@@ -68,7 +68,7 @@
     TTGlyphID firstGlyph = SWAPW(startGlyph);
     TTGlyphID lastGlyph  = firstGlyph + SWAPW(glyphCount);
 
-    if (ttGlyphID > firstGlyph && ttGlyphID < lastGlyph) {
+    if (ttGlyphID >= firstGlyph && ttGlyphID < lastGlyph) {
         return SWAPW(classValueArray[ttGlyphID - firstGlyph]);
     }