diff options
Diffstat (limited to 'source/blender/makesdna/intern/dna_utils.c')
-rw-r--r-- | source/blender/makesdna/intern/dna_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/intern/dna_utils.c b/source/blender/makesdna/intern/dna_utils.c index 425deaf121f..c402b36812b 100644 --- a/source/blender/makesdna/intern/dna_utils.c +++ b/source/blender/makesdna/intern/dna_utils.c @@ -265,7 +265,7 @@ void DNA_alias_maps(enum eDNA_RenameDir version_dir, GHash **r_struct_map, GHash const char **str_pair = MEM_mallocN(sizeof(char *) * 2, __func__); str_pair[0] = BLI_ghash_lookup_default(struct_map_local, data[i][0], (void *)data[i][0]); str_pair[1] = data[i][elem_key]; - BLI_ghash_insert(elem_map, str_pair, (void *)data[i][elem_val]); + BLI_ghash_insert(elem_map, (void *)str_pair, (void *)data[i][elem_val]); } *r_elem_map = elem_map; } |