mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[VARC] Minor simplify pointer math
This commit is contained in:
parent
dcb80ecbd9
commit
ffee85d67f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue