The documentation for the menu system clearly states that all
properties of the parent are inherited in the submenu. Unfortunately
there's a bug that means this isn't true for the parent's menu title,
so fix that.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
m->menu_master_passwd = refstr_get(parent->menu_master_passwd);
m->menu_background = refstr_get(parent->menu_background);
+ refstr_put(m->title);
+ m->title = refstr_get(parent->title);
+
m->color_table = copy_color_table(parent->color_table);
for (i = 0; i < 12; i++) {