summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-04-03 20:08:48 +0200
committerErwan Velu <erwan.velu@free.fr>2009-04-03 20:08:48 +0200
commitf13aac7a7e24f3b48168afb14b2eb714db5ea5a9 (patch)
treead7857aa2c819f22b08a420dfca13b0a70c7680c
parent51148f849194c65fea302921ae19e8bcae2525b7 (diff)
downloadsyslinux-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.
-rw-r--r--com32/hdt/hdt-menu.c1
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;