diff --git a/src/hb-ot-var-hvac-table.hh b/src/hb-ot-var-hvac-table.hh index 5bd6258e6..f64894273 100644 --- a/src/hb-ot-var-hvac-table.hh +++ b/src/hb-ot-var-hvac-table.hh @@ -97,7 +97,7 @@ struct GlyphVariationDeltas const SparseVarRegionList &varRegionList) const { const HBUINT8 *p = deltaSets; - for (unsigned i = 0; i < deltasCount; i++) + for (unsigned i = 0; i < deltaSetCount; i++) { const GlyphVariationDelta &delta = StructAtOffsetUnaligned (p, 0); @@ -114,7 +114,7 @@ struct GlyphVariationDeltas return_trace (false); const HBUINT8 *p = deltaSets; - for (unsigned i = 0; i < deltasCount; i++) + for (unsigned i = 0; i < deltaSetCount; i++) { const GlyphVariationDelta &delta = StructAtOffsetUnaligned (p, 0);