summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/menu.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 11:35:26 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 11:35:26 +0000
commited70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (patch)
tree490c605b9feb1e0910c9109ce05411118a0d3d29 /apps/plugins/rockboy/menu.c
parent3b52bb9c68665c6860c7da6f8ee0b3d8fe26d53d (diff)
downloadrockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.zip
rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.tar.gz
rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.tar.bz2
rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.tar.xz
don't assign NULL to a long (fixes sim build warnings)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/menu.c')
-rw-r--r--apps/plugins/rockboy/menu.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c
index aa79b5d..c877994 100644
--- a/apps/plugins/rockboy/menu.c
+++ b/apps/plugins/rockboy/menu.c
@@ -322,29 +322,29 @@ static void do_opt_menu(void)
int result;
static const struct opt_items onoff[2] = {
- { "Off", NULL },
- { "On" , NULL },
+ { "Off", 0 },
+ { "On" , 0 },
};
static const struct opt_items fullscreen[]= {
- { "Off", NULL },
- { "Fullscreen", NULL },
- { "Full - Maintain Ratio", NULL },
+ { "Off", 0 },
+ { "Fullscreen", 0 },
+ { "Full - Maintain Ratio", 0 },
};
static const struct opt_items frameskip[]= {
- { "3 Max", NULL },
- { "4 Max", NULL },
- { "5 Max", NULL },
- { "6 Max", NULL },
+ { "3 Max", 0 },
+ { "4 Max", 0 },
+ { "5 Max", 0 },
+ { "6 Max", 0 },
};
static const struct menu_item items[] = {
- {"Max Frameskip", NULL },
- {"Sound" , NULL },
- {"Stats" , NULL },
- {"Fullscreen" , NULL },
- {"Set Keys (Buggy)", NULL },
+ {"Max Frameskip", 0 },
+ {"Sound" , 0 },
+ {"Stats" , 0 },
+ {"Fullscreen" , 0 },
+ {"Set Keys (Buggy)", 0 },
};
m = rb->menu_init(items, sizeof(items) / sizeof(*items), NULL, NULL, NULL, NULL);