mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[gpos] Minor micro-optimize
This commit is contained in:
parent
c769d7e181
commit
26ad7a6022
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,8 @@ struct PairPosFormat1_3
|
|||
const PairSet& set = (this + _);
|
||||
const PairValueRecord *record = &set.firstPairValueRecord;
|
||||
|
||||
for (unsigned i = 0; i < set.len; i++)
|
||||
unsigned count = set.len;
|
||||
for (unsigned i = 0; i < count; i++)
|
||||
{
|
||||
if (record->intersects (glyphset))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue