commit 8d04fc9

default  ·  2023-08-13 12:07:07 +0000 UTC
parent 2f0d604
Backport from xs.
2 files changed,  +2, -2
M xs.h
M xs.h
+1, -1
1@@ -1013,7 +1013,7 @@ xs_dict *xs_dict_set(xs_dict *dict, const xs_str *key, const xs_val *data)
2     dict = xs_dict_del(dict, key);
3 
4     /* add the data */
5-    dict = xs_dict_prepend(dict, key, data);
6+    dict = xs_dict_append(dict, key, data);
7 
8     return dict;
9 }
+1, -1
1@@ -1 +1 @@
2-/* 6cb05184b1aafc2740758de5422d70df51e01b66 */
3+/* ac9e4d062c08ebfec62279b7ffde5215d45fcea6 */