projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d9aac
)
Set m->title for both root and submenus
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 20 Feb 2008 00:42:40 +0000
(16:42 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 20 Feb 2008 00:51:24 +0000
(16:51 -0800)
com32/menu/readconfig.c
patch
|
blob
|
history
diff --git
a/com32/menu/readconfig.c
b/com32/menu/readconfig.c
index
3bbca3b
..
554ad91
100644
(file)
--- a/
com32/menu/readconfig.c
+++ b/
com32/menu/readconfig.c
@@
-120,6
+120,7
@@
static struct menu * new_menu(struct menu *parent,
int i;
m->label = refstrdup(label);
+ m->title = refstr_get(empty_string);
if (parent) {
/* Submenu */
@@
-136,7
+137,6
@@
static struct menu * new_menu(struct menu *parent,
m->allowedit = parent->allowedit;
m->timeout = parent->timeout;
- m->title = refstr_get(empty_string);
m->ontimeout = refstr_get(parent->ontimeout);
m->onerror = refstr_get(parent->onerror);
m->menu_master_passwd = refstr_get(parent->menu_master_passwd);