diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh index 9e2ccab10..8a79c7afb 100644 --- a/src/hb-cff-interp-common.hh +++ b/src/hb-cff-interp-common.hh @@ -521,7 +521,7 @@ struct parsed_values_t { VAL *val = values.push (); val->op = op; - val->str = str_ref.str.sub_array (opStart, str_ref.offset - opStart); + val->str = str_ref.sub_array (opStart, str_ref.offset - opStart); opStart = str_ref.offset; }