mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-12 16:23:01 +00:00
Minor
This commit is contained in:
parent
0f8fea71a6
commit
caf0412690
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue