summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-25 14:31:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-25 14:31:56 +0000
commit1f5ee2a3665e2a21d39b55f65f6c9c9a1de4e7fa (patch)
treedf99235772375de0991470a634312f5d0471ef3b /apps/menu.h
parent14fea30548d2023a2368bf090caab0023baf8d10 (diff)
downloadrockbox-1f5ee2a3665e2a21d39b55f65f6c9c9a1de4e7fa.tar.gz
rockbox-1f5ee2a3665e2a21d39b55f65f6c9c9a1de4e7fa.tar.bz2
rockbox-1f5ee2a3665e2a21d39b55f65f6c9c9a1de4e7fa.zip
convert the xobox menu to the new API so it can be used as an example for plugin devs
Includes some fixes in the api to handle this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12907 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 3a7a2de42f..aab2365a14 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -130,7 +130,7 @@ bool do_setting_from_menu(const struct menu_item_ex *temp);
static const struct menu_item_ex name = \
{MT_RETURN_ID|MENU_HAS_DESC| \
MENU_ITEM_COUNT(sizeof( name##_)/sizeof(*name##_)), \
- { .submenus = name##_},{.callback_and_desc = & name##__}};
+ { .strings = name##_},{.callback_and_desc = & name##__}};
/* returns a value associated with the item */