Fix stupid bug in bsearch cmp function!
This commit is contained in:
parent
6fca4c18c4
commit
9dc45401c0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue