mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
Minor
This commit is contained in:
1 parent
f47cf1f12d
commit
8e3d4bae03
1 file changed
+1
-1
@@ -1041,7 +1041,7 @@ struct ClassDefFormat2
|
||||
inline unsigned int get_class (hb_codepoint_t glyph_id) const
|
||||
{
|
||||
int i = rangeRecord.bsearch (glyph_id);
|
||||
if (i != -1)
|
||||
if (unlikely (i != -1))
|
||||
return rangeRecord[i].value;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user