diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-19 18:13:47 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-19 18:13:47 -0800 |
commit | 1412c296964937976327e87d88fc46f9786903ed (patch) | |
tree | f3a5a47e86f017fa31b3d47c7655fa8320b4a8eb /com32/menu/menumain.c | |
parent | 1a306d92054c6feef185bb9cbc90e6efa9f758a6 (diff) | |
download | syslinux-1412c296964937976327e87d88fc46f9786903ed.tar.gz |
When entering a new menu, go to the default entry for that menu.
Diffstat (limited to 'com32/menu/menumain.c')
-rw-r--r-- | com32/menu/menumain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c index 9058efb1..8c1dabf9 100644 --- a/com32/menu/menumain.c +++ b/com32/menu/menumain.c @@ -835,7 +835,8 @@ run_menu(void) done = 0; clear = 2; cm = me->submenu; - entry = top = 0; + entry = cm->defentry; + top = 0; break; case MA_QUIT: /* Quit menu system */ |