summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-11-17 11:17:10 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-11-17 11:17:10 +0000
commite55aa35e09d204ef31b6aed7f2cd2dc99d28bdfa (patch)
tree052ce9af78b63bdc389c5e6166b58dae419b2bf4 /Build/source
parent75985a2c368bbb7ed68069d81efef0337003b425 (diff)
bugfix for ICU ticket 6625, error handling class definitions
git-svn-id: svn://tug.org/texlive/trunk@11330 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/libs/icu-xetex/layout/ClassDefinitionTables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/icu-xetex/layout/ClassDefinitionTables.cpp b/Build/source/libs/icu-xetex/layout/ClassDefinitionTables.cpp
index d69aac0efe9..124c4d0f24d 100644
--- a/Build/source/libs/icu-xetex/layout/ClassDefinitionTables.cpp
+++ b/Build/source/libs/icu-xetex/layout/ClassDefinitionTables.cpp
@@ -68,7 +68,7 @@ le_int32 ClassDefFormat1Table::getGlyphClass(LEGlyphID glyphID) const
TTGlyphID firstGlyph = SWAPW(startGlyph);
TTGlyphID lastGlyph = firstGlyph + SWAPW(glyphCount);
- if (ttGlyphID > firstGlyph && ttGlyphID < lastGlyph) {
+ if (ttGlyphID >= firstGlyph && ttGlyphID < lastGlyph) {
return SWAPW(classValueArray[ttGlyphID - firstGlyph]);
}