comparison: ui/common/menu.c
ui/common/menu.c
- changeset 49
- 2f71f4ee247a
- parent 44
- 473954dc6b74
- child 68
- 79a9aadf1c70
equal
deleted
inserted
replaced
102 menu->items_end = NULL; |
102 menu->items_end = NULL; |
103 menu->parent = NULL; |
103 menu->parent = NULL; |
104 |
104 |
105 menu->end = 0; |
105 menu->end = 0; |
106 |
106 |
107 if (current->size == 0) { |
107 if (cxListSize(current) == 0) { |
108 add_menu(menu); |
108 add_menu(menu); |
109 } |
109 } |
110 else { |
110 else { |
111 add_item((UiMenuItemI*)menu); |
111 add_item((UiMenuItemI*)menu); |
112 } |
112 } |