[glyf] Minor optimization
This commit is contained in:
parent
b30a3dcba3
commit
d6f60b3c19
|
@ -180,7 +180,7 @@ struct SimpleGlyph
|
||||||
{
|
{
|
||||||
if (unlikely (p + 1 > end)) return false;
|
if (unlikely (p + 1 > end)) return false;
|
||||||
uint8_t flag = *p++;
|
uint8_t flag = *p++;
|
||||||
points_[i++].flag = flag;
|
points_.arrayZ[i++].flag = flag;
|
||||||
if (flag & FLAG_REPEAT)
|
if (flag & FLAG_REPEAT)
|
||||||
{
|
{
|
||||||
if (unlikely (p + 1 > end)) return false;
|
if (unlikely (p + 1 > end)) return false;
|
||||||
|
|
Loading…
Reference in New Issue