summaryrefslogtreecommitdiff
path: root/pango/opentype/harfbuzz-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/harfbuzz-open.c')
-rw-r--r--pango/opentype/harfbuzz-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/harfbuzz-open.c b/pango/opentype/harfbuzz-open.c
index e836df1e..fa540401 100644
--- a/pango/opentype/harfbuzz-open.c
+++ b/pango/opentype/harfbuzz-open.c
@@ -1191,7 +1191,7 @@ static FT_Error Get_Class1( HB_ClassDefFormat1* cdf1,
*index = 0;
if ( glyphID >= cdf1->StartGlyph &&
- glyphID <= cdf1->StartGlyph + cdf1->GlyphCount )
+ glyphID < cdf1->StartGlyph + cdf1->GlyphCount )
{
*class = cva[glyphID - cdf1->StartGlyph];
return FT_Err_Ok;