summaryrefslogtreecommitdiff
path: root/extlinux/main.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-09 13:45:00 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-10-09 14:06:19 +0100
commitb0d5575ded49de084d1abdef3ab66b4c05d9bca9 (patch)
tree6bb8da772937c754efb857be3e80dd37eff1f153 /extlinux/main.c
parentc823574f53c1729790a5d38d02204118389cddf6 (diff)
downloadsyslinux-b0d5575ded49de084d1abdef3ab66b4c05d9bca9.tar.gz
menu: Add MENU GOTO support to the MENU DEFAULT parsing code
Tomas reported that the 'test1' submenu in the following config file snippet doesn't honour the MENU DEFAULT directive, MENU BEGIN test0 MENU START LABEL - MENU DEFAULT MENU LABEL OptionA MENU GOTO test1 MENU END MENU BEGIN test1 LABEL - MENU LABEL OptionA1 MENU GOTO test0 LABEL - MENU DEFAULT MENU LABEL OptionB1 MENU GOTO test0 MENU END The reason is that the menu config code doesn't know how to handle a default item that is a MENU GOTO directive. A trivial addition to the code in record() fixes this. Reported-by: Tomas M <tomas@slax.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'extlinux/main.c')
0 files changed, 0 insertions, 0 deletions