mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-19 03:34:03 +00:00
[set-digest] Early terminate add_range() if we're full
This commit is contained in:
parent
bb33675e60
commit
918ad89294
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ struct hb_set_digest_bits_pattern_t
|
|||
mask_t mb = mask_for (b);
|
||||
mask |= mb + (mb - ma) - (mb < ma);
|
||||
}
|
||||
return true;
|
||||
return mask != (mask_t) -1; // Early terminte if we're full.
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Add table
Reference in a new issue