summaryrefslogtreecommitdiff
path: root/xs.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs.h')
-rw-r--r--xs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs.h b/xs.h
index a9064e0..4cda1c9 100644
--- a/xs.h
+++ b/xs.h
@@ -1013,7 +1013,7 @@ xs_dict *xs_dict_set(xs_dict *dict, const xs_str *key, const xs_val *data)
dict = xs_dict_del(dict, key);
/* add the data */
- dict = xs_dict_prepend(dict, key, data);
+ dict = xs_dict_append(dict, key, data);
return dict;
}