summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-10 13:39:47 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-10 13:39:47 +0000
commitee430acdc5363f5971438cd8e6bdf818fb04dda2 (patch)
treefa3b15b43ab6ca5050d9d6f640a23fc89fbc2f6d /apps/menu.h
parent2c7030b402817279151091b0991645099bc59b10 (diff)
downloadrockbox-ee430acdc5363f5971438cd8e6bdf818fb04dda2.tar.gz
rockbox-ee430acdc5363f5971438cd8e6bdf818fb04dda2.tar.bz2
rockbox-ee430acdc5363f5971438cd8e6bdf818fb04dda2.zip
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
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menu.h b/apps/menu.h
index b0a1b4cb7f..939c17ec4e 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -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 = \