search for: menuind

Displaying 4 results from an estimated 4 matches for "menuind".

Did you mean: menuing
2019 Apr 26
1
Fix: menu indent for menu entry
...9,6 +319,15 @@ static void record(struct menu *m, struc struct menu_entry *me; const struct syslinux_ipappend_strings *ipappend; + /* Handle indentation of item with sub-menu while there's no item yet */ + if (m->parent_entry && m->nentries == 0 && ld->menuindent) { + const char *dn; + + rsprintf(&dn, "%*s%s", ld->menuindent, "", m->parent_entry->displayname); + refstr_put(m->parent_entry->displayname); + m->parent_entry->displayname = dn; + } + if (!ld->label) return; /* Nothing defined */ #...
2010 May 30
1
[RFC PATCH] menu: support single key booting
...} } break; diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c index d4c8848..7aed5a3 100644 --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -217,6 +217,7 @@ struct labeldata { unsigned int menuseparator; unsigned int menudisabled; unsigned int menuindent; + unsigned int menucommit; enum menu_action action; int save; struct menu *submenu; @@ -304,6 +305,7 @@ static void record(struct menu *m, struct labeldata *ld, const char *append) me->hotkey = 0; me->action = ld->action ? ld->action : MA_CMD; me->save = l...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...refstrdup(bdx[i]->options); + ld.initrd = refstrdup(bdx[i]->initrd); + ld.menulabel = format_bls_data( + bdx[i], (bls1_format) ? bls1_format : BLS1_FORMAT + ); + ld.helptext = NULL; + ld.ipappend = SysAppends; + ld.menudefault = ld.menuhide = ld.menuseparator = + ld.menudisabled = ld.menuindent = 0; + + if (bls1_shwlbl) { + tmp = refstrdup(ld.menulabel); + refstr_put(ld.menulabel); + rsprintf(&ld.menulabel, "%s%s", ld.label, tmp); + refstr_put(tmp); + } + + clear_bls_data(bdx[i]); + free(bdx[i]); + } + free(bdx); + + return rv; + +nomem: + dpri...
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...ons) : NULL; + ld.initrd = (bdx[i]->initrd) ? refstrdup(bdx[i]->initrd) : NULL; + ld.menulabel = (bdx[i]->title) ? refstrdup(bdx[i]->title) : NULL; + ld.ipappend = ipappend; + ld.menudefault = ld.menuhide = ld.menuseparator = + ld.menudisabled = ld.menuindent = 0; + + clear_bls_data(bdx[i]); + free(bdx[i]); + } + + return rv; + +nomem: + dprintf("Out of memory error!\n"); + free(filename); + for (i = 0; i < n_bd; i++) { + clear_bls_data(bdx[i]); + free(bdx[i]); + } + free(bdx); + clear_...