Fix the handling of hotkeys in MENU LABEL on submenus syslinux-3.62-pre14
authorH. Peter Anvin <hpa@zytor.com>
Fri, 22 Feb 2008 19:03:34 +0000 (11:03 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 22 Feb 2008 19:03:34 +0000 (11:03 -0800)
commit44e9cab0e6bc5a7a75d8470e7a4ba41d739f4a37
tree596fa498ea69ab61b30e6fa35199783728b1da7a
parent728ef8ec0fc80014676bb55ded7136353ce6eff4
Fix the handling of hotkeys in MENU LABEL on submenus

Two bugs:

- We didn't strip ^ symbols inheriting from MENU LABEL to MENU TITLE
- We did consider_for_hotkey() with the wrong menu (the submenu
  itself, as opposed to the parent menu.)

As part of these changes, make a function available to create an
uninitialized, mutable refstring (that can be constructed and then
used as a refstring, that is.)
com32/menu/readconfig.c
com32/menu/refstr.c
com32/menu/refstr.h