ui/motif/menu.c

changeset 1016
ccde46662db7
parent 996
61b811c4705f
--- a/ui/motif/menu.c	Wed Dec 17 18:31:20 2025 +0100
+++ b/ui/motif/menu.c	Thu Dec 18 17:50:15 2025 +0100
@@ -244,7 +244,7 @@
         // binding object is a list of all connected UiActiveMenuItemList.
         CxList *bindings = list->obj;
         if(!bindings) {
-            bindings = cxLinkedListCreate(ls->var->from_ctx->mp->allocator, NULL, CX_STORE_POINTERS);
+            bindings = cxLinkedListCreate(ls->var->from_ctx->mp->allocator, CX_STORE_POINTERS);
             list->obj = bindings;
         }
         cxListAdd(bindings, ls);

mercurial