Browse Source

Backport from xs.

default 1 year ago
parent
commit
8d04fc912f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      xs.h
  2. 1 1
      xs_version.h

+ 1 - 1
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;
 }

+ 1 - 1
xs_version.h

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