mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-19 03:34:03 +00:00
[ot-map] Minor micro-optimize
This commit is contained in:
parent
5ac9eaa035
commit
8156c5a685
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ hb_ot_map_builder_t::compile (hb_ot_map_t &m,
|
|||
}
|
||||
|
||||
/* Sort lookups and merge duplicates */
|
||||
if (last_num_lookups < lookups.length)
|
||||
if (last_num_lookups + 1 < lookups.length)
|
||||
{
|
||||
lookups.as_array ().sub_array (last_num_lookups, lookups.length - last_num_lookups).qsort ();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue