1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Marcoen Hirschberg 2006-08-11 11:35:26 +00:00
parent 3b52bb9c68
commit ed70da26bd
5 changed files with 205 additions and 205 deletions

View file

@ -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);