ui/common/menu.c

changeset 49
2f71f4ee247a
parent 44
473954dc6b74
--- a/ui/common/menu.c	Thu Oct 03 18:52:51 2024 +0200
+++ b/ui/common/menu.c	Sun Oct 06 18:18:04 2024 +0200
@@ -104,7 +104,7 @@
 
     menu->end = 0;
 
-    if (current->size == 0) {
+    if (cxListSize(current) == 0) {
         add_menu(menu);
     }
     else {

mercurial