[syslinux] No sub-menus in complex.c32

Michael Madore michael.madore at gmail.com
Fri Jun 20 13:24:07 PDT 2008


On Fri, Jun 20, 2008 at 3:26 PM, Sebastian Herbszt <herbszt at gmx.de> wrote:
>
> From: "Michael Madore" <michael.madore at gmail.com>
> Sent: Friday, June 20, 2008 5:08 AM
>> I commented out the call to fix_submenus() in menu/libmenu/menu.c and
>> now my menu works.  This is with 3.20, so I still have to try with
>> 3.63.  I haven't looked at fix_submenus() yet to see why it breaks
>> submenus.
>
> I think it breaks because fix_submenus calls find_menu_num which assumes
> a menu got a name. If add_menu is used name is NULL. It is not NULL if
> add_named_menu is used. complex.c is the only file using add_menu. All
> other files (simple.c, test.c and test2.c) are using add_named_menu.

I converted all occurrences of add_menu to add_named_menu.  The
sub-menus now work, but radio button options are still broken.

Mike




More information about the Syslinux mailing list