mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[gvar] Minor use array get_size()
This commit is contained in:
parent
1bd386515c
commit
0545949f01
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ struct gvar
|
|||
if (unlikely (!y_deltas.resize (num_deltas, false))) return false;
|
||||
if (unlikely (!GlyphVariationData::unpack_deltas (p, y_deltas, end))) return false;
|
||||
|
||||
hb_memset (deltas.arrayZ, 0, deltas.length * sizeof (deltas.arrayZ[0]));
|
||||
hb_memset (deltas.arrayZ, 0, deltas.get_size ());
|
||||
|
||||
unsigned ref_points = 0;
|
||||
if (scalar != 1.0f)
|
||||
|
|
Loading…
Add table
Reference in a new issue