diff options
author | Erwan Velu <erwan.velu@free.fr> | 2009-04-03 20:08:48 +0200 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-04-03 20:08:48 +0200 |
commit | f13aac7a7e24f3b48168afb14b2eb714db5ea5a9 (patch) | |
tree | ad7857aa2c819f22b08a420dfca13b0a70c7680c /com32 | |
parent | 51148f849194c65fea302921ae19e8bcae2525b7 (diff) | |
download | syslinux-f13aac7a7e24f3b48168afb14b2eb714db5ea5a9.tar.gz |
hdt: Adding exit menu in menu mode
Impact: Users can now exit hdt :)
It's now possible to exit HDT properly. Thx to fcrozat report.
Diffstat (limited to 'com32')
-rw-r--r-- | com32/hdt/hdt-menu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/hdt/hdt-menu.c b/com32/hdt/hdt-menu.c index a865e672..b531bc78 100644 --- a/com32/hdt/hdt-menu.c +++ b/com32/hdt/hdt-menu.c @@ -275,6 +275,7 @@ void compute_main_menu(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) HDT_SWITCH_TO_CLI, 0); add_item("<A>bout", "About Menu", OPT_SUBMENU, NULL, hdt_menu->about_menu.menu); + add_item("E<x>it","Exit", OPT_EXITMENU,NULL,0); hdt_menu->main_menu.items_count++; hdt_menu->total_menu_count += hdt_menu->main_menu.items_count; |