[bit-set-invertible] Fix intersect() logic

This commit is contained in:
Behdad Esfahbod 2021-08-19 13:01:07 -06:00
parent b21038d91d
commit f317d8e426
1 changed files with 2 additions and 2 deletions

View File

@ -145,9 +145,9 @@ struct hb_bit_set_invertible_t
else
{
if (unlikely (inverted))
process (hb_bitwise_ge, other);
process (hb_bitwise_lt, other);
else
process (hb_bitwise_le, other);
process (hb_bitwise_gt, other);
}
inverted = inverted && other.inverted;
}