提交 9dc45401 编写于 作者: B Behdad Esfahbod

Fix stupid bug in bsearch cmp function!

上级 6fca4c18
......@@ -58,7 +58,7 @@ struct Record
{
inline int cmp (hb_tag_t b) const {
hb_tag_t a = tag;
return b < a ? -1 : b == a ? 0 : -1;
return b < a ? -1 : b == a ? 0 : +1;
}
inline bool sanitize (hb_sanitize_context_t *c, void *base) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册