diff --git a/src/hb-ot-var-gvar-table.hh b/src/hb-ot-var-gvar-table.hh index e32229ac4..13de84cb8 100644 --- a/src/hb-ot-var-gvar-table.hh +++ b/src/hb-ot-var-gvar-table.hh @@ -614,7 +614,7 @@ struct gvar if (iterator.current_tuple->has_private_points () && !GlyphVarData::unpack_points (p, private_indices, checker)) return false; - const hb_array_t &indices = shared_indices.length? shared_indices: private_indices; + const hb_array_t &indices = private_indices.length? private_indices: shared_indices; bool apply_to_all = (indices.length == 0); unsigned int num_deltas = apply_to_all? points.length: indices.length;