mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
2c7030b402
commit
ee430acdc5
1 changed files with 1 additions and 1 deletions
|
@ -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 = \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue