ui/common/wrapper.c

changeset 893
32b334db5f8b
parent 862
670b2c03413f
--- a/ui/common/wrapper.c	Tue Nov 04 20:38:19 2025 +0100
+++ b/ui/common/wrapper.c	Tue Nov 11 20:08:55 2025 +0100
@@ -125,6 +125,11 @@
     cxListRemove(cxlist, index);
 }
 
+void ui_srclist_swap(UiList *list, int i1, int i2) {
+    CxList *cxlist = list->data;
+    cxListSwap(cxlist, i1, i2);
+}
+
 void ui_srclist_clear(UiList *list) {
     CxList *cxlist = list->data;
     cxListClear(cxlist);

mercurial