提交 8e3d4bae 编写于 作者: B Behdad Esfahbod

Minor

上级 f47cf1f1
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册