mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
[array] Oops. Fix memcpy copy()!
This commit is contained in:
1 parent
5e41766bb9
commit
a24d4e9261
1 file changed
+1
-1
+1
-1
@@ -286,7 +286,7 @@ struct hb_array_t : hb_iter_with_fallback_t<hb_array_t<Type>, Type&>
|
||||
TRACE_SERIALIZE (this);
|
||||
auto* out = c->start_embed (arrayZ);
|
||||
if (unlikely (!c->extend_size (out, get_size (), false))) return_trace (hb_array_t ());
|
||||
hb_memcpy (out, arrayZ, length);
|
||||
hb_memcpy (out, arrayZ, get_size ());
|
||||
return_trace (hb_array_t (out, length));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user