Fixed stuff

This commit is contained in:
Maix0 2024-05-18 18:49:15 +02:00
parent be1d3ff2d3
commit f4e8596f3b
15 changed files with 130 additions and 103 deletions

View file

@ -111,5 +111,9 @@ void insert_hashmap_env(t_hashmap_env *hmap, t_str key,
prev->next = entry;
}
else
{
hmap->drop(entry->kv);
entry->kv.key = key;
entry->kv.val = value;
}
}