ui/common/menu.c

branch
newapi
changeset 421
3b969399f962
parent 419
7d15cad351fc
--- a/ui/common/menu.c	Sun Dec 22 11:49:59 2024 +0100
+++ b/ui/common/menu.c	Mon Dec 30 12:50:52 2024 +0100
@@ -198,6 +198,7 @@
     item->callback = args.onselect;
     item->userdata = args.onselectdata;
     item->varname = nl_strdup(args.varname);
+    item->addseparator = args.addseparator;
     
     add_item((UiMenuItemI*)item);
 }

mercurial