[bit-set-invertible] Fix intersect() logic
This commit is contained in:
parent
b21038d91d
commit
f317d8e426
|
@ -145,9 +145,9 @@ struct hb_bit_set_invertible_t
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (unlikely (inverted))
|
if (unlikely (inverted))
|
||||||
process (hb_bitwise_ge, other);
|
process (hb_bitwise_lt, other);
|
||||||
else
|
else
|
||||||
process (hb_bitwise_le, other);
|
process (hb_bitwise_gt, other);
|
||||||
}
|
}
|
||||||
inverted = inverted && other.inverted;
|
inverted = inverted && other.inverted;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue