fix typo which causes the macro to cause compile errors

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12257 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-02-10 13:39:47 +00:00
parent 2c7030b402
commit ee430acdc5

View file

@ -112,7 +112,7 @@ int do_menu(const struct menu_item_ex *menu);
MENU_ITEM_COUNT(sizeof( name##_)/sizeof(*name##_)), \
{ (void*)name##_},{.callback_and_desc = & name##__}};
#define MENUITEM_STRINGLIST(name, str, callback, ... ) \
#define MENUITEM_STRINGLIST(name, str, cb, ... ) \
static const char *name##_[] = {__VA_ARGS__}; \
static const struct menu_callback_with_desc name##__ = {cb,str}; \
static const struct menu_item_ex name = \