diff --git a/src/OT/glyf/SimpleGlyph.hh b/src/OT/glyf/SimpleGlyph.hh index 6ee77cd66..e87851b79 100644 --- a/src/OT/glyf/SimpleGlyph.hh +++ b/src/OT/glyf/SimpleGlyph.hh @@ -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;