ui/common/menu.c

changeset 1016
ccde46662db7
parent 966
e411ed7c5f10
--- a/ui/common/menu.c	Wed Dec 17 18:31:20 2025 +0100
+++ b/ui/common/menu.c	Thu Dec 18 17:50:15 2025 +0100
@@ -58,7 +58,7 @@
 }
 
 void uic_menu_init(void) {
-    global_builder.current = cxLinkedListCreate(cxDefaultAllocator, NULL, CX_STORE_POINTERS);
+    global_builder.current = cxLinkedListCreate(cxDefaultAllocator,  CX_STORE_POINTERS);
     current_builder = &global_builder;
 }
 
@@ -270,7 +270,7 @@
     UiMenuBuilder *builder = malloc(sizeof(UiMenuBuilder));
     builder->menus_begin = NULL;
     builder->menus_end = NULL;
-    builder->current = cxLinkedListCreate(cxDefaultAllocator, NULL, CX_STORE_POINTERS);
+    builder->current = cxLinkedListCreate(cxDefaultAllocator, CX_STORE_POINTERS);
     builder->ref = 1;
     current_builder = builder;
     *out_builder = builder;

mercurial