fix yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13069 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-08 06:15:34 +00:00
parent 21b415df56
commit 9e95e306cd

View file

@ -668,7 +668,7 @@ int menu_init(const struct menu_item* mitems, int count, int (*callback)(int, in
menus[menu].callback = callback;
menus[menu].current_selection = 0;
if ((button2 == NULL) && (button3 == NULL))
menus[menu].title = button1;
menus[menu].title = (char*)button1;
else menus[menu].title = NULL;
return menu;
}
@ -707,6 +707,7 @@ static char* oldmenuwrapper_getname(int selected_item,
#ifdef HAVE_LCD_BITMAP
static void oldmenu_get_icon(int selected_item, void * data, ICON * icon)
{
(void)data; (void)selected_item;
*icon = bitmap_icons_6x8[Icon_Menu_functioncall];
}
#endif