aboutsummaryrefslogtreecommitdiffstats
path: root/com32/menu/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/menu/menu.h')
-rw-r--r--com32/menu/menu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/menu/menu.h b/com32/menu/menu.h
index 1fa1a24b..e2ffc1bc 100644
--- a/com32/menu/menu.h
+++ b/com32/menu/menu.h
@@ -49,7 +49,7 @@ enum menu_action {
};
struct menu_entry {
- int entry; /* Entry number inside menu */
+ struct menu *menu; /* Parent menu */
const char *displayname;
const char *label;
const char *passwd;
@@ -57,6 +57,7 @@ struct menu_entry {
const char *cmdline;
struct menu *submenu;
struct menu_entry *next; /* Linked list of all labels across menus */
+ int entry; /* Entry number inside menu */
enum menu_action action;
unsigned char hotkey;
};