Minor
This commit is contained in:
parent
f47cf1f12d
commit
8e3d4bae03
|
@ -1041,7 +1041,7 @@ struct ClassDefFormat2
|
||||||
inline unsigned int get_class (hb_codepoint_t glyph_id) const
|
inline unsigned int get_class (hb_codepoint_t glyph_id) const
|
||||||
{
|
{
|
||||||
int i = rangeRecord.bsearch (glyph_id);
|
int i = rangeRecord.bsearch (glyph_id);
|
||||||
if (i != -1)
|
if (unlikely (i != -1))
|
||||||
return rangeRecord[i].value;
|
return rangeRecord[i].value;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue