Really fix the yellow this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12682 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fe3fa144c6
commit
7cb46f2f3e
1 changed files with 2 additions and 2 deletions
|
@ -677,7 +677,7 @@ static void init_oldmenu(const struct menu_item_ex *menu,
|
|||
{
|
||||
(void)callback;
|
||||
gui_synclist_init(lists, oldmenuwrapper_getname,
|
||||
(intptr_t)menu->value, false, 1);
|
||||
(intptr_t*)menu->value, false, 1);
|
||||
gui_synclist_set_nb_items(lists,
|
||||
(menu->flags&MENU_COUNT_MASK)>>MENU_COUNT_SHIFT);
|
||||
gui_synclist_limit_scroll(lists, true);
|
||||
|
@ -699,7 +699,7 @@ int menu_show(int m)
|
|||
{
|
||||
oldmenuwrapper_callback,
|
||||
oldmenuwrapper_getname,
|
||||
(intptr_t)m, Icon_NOICON
|
||||
(intptr_t*)m, Icon_NOICON
|
||||
};
|
||||
|
||||
menu.flags = (MENU_TYPE_MASK&MT_OLD_MENU) | MENU_DYNAMIC_DESC |
|
||||
|
|
Loading…
Reference in a new issue