[VARC] Minor simplify pointer math

This commit is contained in:
Behdad Esfahbod 2025-02-25 16:20:42 -07:00
parent dcb80ecbd9
commit ffee85d67f

View file

@ -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