mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[VARC] Minor simplify pointer math
This commit is contained in:
1 parent
dcb80ecbd9
commit
ffee85d67f
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user