Backport from xs.

This commit is contained in:
default 2023-08-13 14:07:07 +02:00
parent 2f0d604f0c
commit 8d04fc912f
2 changed files with 2 additions and 2 deletions

2
xs.h
View file

@ -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;
}

View file

@ -1 +1 @@
/* 6cb05184b1aafc2740758de5422d70df51e01b66 */
/* ac9e4d062c08ebfec62279b7ffde5215d45fcea6 */