diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-04-14 21:45:54 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-04-14 21:45:54 -0700 |
commit | 927a28f0f852b31950fd9d4f9d96049397d1eaa1 (patch) | |
tree | c0d0d260ad5b766bbcf64fe6fd1c014ed1a0f527 /com32/menu/menumain.c | |
parent | 21a05a49eb12c727ead17a71dba3ec3cc6949c03 (diff) | |
download | syslinux-927a28f0f852b31950fd9d4f9d96049397d1eaa1.tar.gz |
menu: modify MENU SAVE to be a cascading default
Change MENU SAVE to be a cascading default that can be reverted with
MENU NOSAVE.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/menu/menumain.c')
-rw-r--r-- | com32/menu/menumain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c index c3da97e4..b3131faf 100644 --- a/com32/menu/menumain.c +++ b/com32/menu/menumain.c @@ -879,7 +879,7 @@ run_menu(void) } if (done && !me->passwd) { /* Only save a new default if we don't have a password... */ - if (menusave && me->label) { + if (me->save && me->label) { syslinux_setadv(ADV_MENUSAVE, strlen(me->label), me->label); syslinux_adv_write(); } |