mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
Minor
This commit is contained in:
1 parent
0f8fea71a6
commit
caf0412690
1 file changed
+1
-1
@@ -558,7 +558,7 @@ struct ClassDefFormat1
|
||||
private:
|
||||
inline unsigned int get_class (hb_codepoint_t glyph_id) const
|
||||
{
|
||||
if ((unsigned int) (glyph_id - startGlyph) < classValue.len)
|
||||
if (unlikely ((unsigned int) (glyph_id - startGlyph) < classValue.len))
|
||||
return classValue[glyph_id - startGlyph];
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user