[glyf] Minor optimization

This commit is contained in:
Behdad Esfahbod 2022-06-27 13:00:08 -06:00
parent b30a3dcba3
commit d6f60b3c19
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ struct SimpleGlyph
{
if (unlikely (p + 1 > end)) return false;
uint8_t flag = *p++;
points_[i++].flag = flag;
points_.arrayZ[i++].flag = flag;
if (flag & FLAG_REPEAT)
{
if (unlikely (p + 1 > end)) return false;