summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 426b96f..7646361 100644
--- a/src/common.c
+++ b/src/common.c
@@ -279,7 +279,7 @@ void plist_dict_merge(plist_t* dictionary, plist_t node)
if (plist_dict_get_item(*dictionary, key) != NULL)
plist_dict_remove_item(*dictionary, key);
- plist_dict_insert_item(*dictionary, key, plist_copy(subnode));
+ plist_dict_set_item(*dictionary, key, plist_copy(subnode));
if (key) {
free(key);
key = NULL;