mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-27 08:12:18 -08:00
fix dbgi key array copy
This commit is contained in:
1 parent
f9abd3efb9
commit
420c2ec208
1 file changed
+1
@@ -85,6 +85,7 @@ internal DI_KeyArray
|
|||||||
di_key_array_copy(Arena *arena, DI_KeyArray *src)
|
di_key_array_copy(Arena *arena, DI_KeyArray *src)
|
||||||
{
|
{
|
||||||
DI_KeyArray dst = {0};
|
DI_KeyArray dst = {0};
|
||||||
|
dst.count = src->count;
|
||||||
dst.v = push_array(arena, DI_Key, dst.count);
|
dst.v = push_array(arena, DI_Key, dst.count);
|
||||||
for EachIndex(idx, dst.count)
|
for EachIndex(idx, dst.count)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user