diff --git a/src/OT/Var/VARC/VARC.cc b/src/OT/Var/VARC/VARC.cc index 9bdaea6bc..ae680f365 100644 --- a/src/OT/Var/VARC/VARC.cc +++ b/src/OT/Var/VARC/VARC.cc @@ -205,7 +205,7 @@ VarComponent::get_path_at (hb_font_t *font, axisValues.resize (axisIndices.length, false); const HBUINT8 *p = (const HBUINT8 *) record; TupleValues::decompile (p, axisValues, (const HBUINT8 *) end); - record += (const unsigned char *) p - record; + record = (const unsigned char *) p; } // Apply variations if any