diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-08-11 11:35:26 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-08-11 11:35:26 +0000 |
commit | ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (patch) | |
tree | 490c605b9feb1e0910c9109ce05411118a0d3d29 /apps/plugins/rockboy | |
parent | 3b52bb9c68665c6860c7da6f8ee0b3d8fe26d53d (diff) | |
download | rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.tar.gz rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.zip |
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')
-rw-r--r-- | apps/plugins/rockboy/menu.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c index aa79b5db4b..c87799496a 100644 --- a/apps/plugins/rockboy/menu.c +++ b/apps/plugins/rockboy/menu.c | |||
@@ -322,29 +322,29 @@ static void do_opt_menu(void) | |||
322 | int result; | 322 | int result; |
323 | 323 | ||
324 | static const struct opt_items onoff[2] = { | 324 | static const struct opt_items onoff[2] = { |
325 | { "Off", NULL }, | 325 | { "Off", 0 }, |
326 | { "On" , NULL }, | 326 | { "On" , 0 }, |
327 | }; | 327 | }; |
328 | 328 | ||
329 | static const struct opt_items fullscreen[]= { | 329 | static const struct opt_items fullscreen[]= { |
330 | { "Off", NULL }, | 330 | { "Off", 0 }, |
331 | { "Fullscreen", NULL }, | 331 | { "Fullscreen", 0 }, |
332 | { "Full - Maintain Ratio", NULL }, | 332 | { "Full - Maintain Ratio", 0 }, |
333 | }; | 333 | }; |
334 | 334 | ||
335 | static const struct opt_items frameskip[]= { | 335 | static const struct opt_items frameskip[]= { |
336 | { "3 Max", NULL }, | 336 | { "3 Max", 0 }, |
337 | { "4 Max", NULL }, | 337 | { "4 Max", 0 }, |
338 | { "5 Max", NULL }, | 338 | { "5 Max", 0 }, |
339 | { "6 Max", NULL }, | 339 | { "6 Max", 0 }, |
340 | }; | 340 | }; |
341 | 341 | ||
342 | static const struct menu_item items[] = { | 342 | static const struct menu_item items[] = { |
343 | {"Max Frameskip", NULL }, | 343 | {"Max Frameskip", 0 }, |
344 | {"Sound" , NULL }, | 344 | {"Sound" , 0 }, |
345 | {"Stats" , NULL }, | 345 | {"Stats" , 0 }, |
346 | {"Fullscreen" , NULL }, | 346 | {"Fullscreen" , 0 }, |
347 | {"Set Keys (Buggy)", NULL }, | 347 | {"Set Keys (Buggy)", 0 }, |
348 | }; | 348 | }; |
349 | 349 | ||
350 | m = rb->menu_init(items, sizeof(items) / sizeof(*items), NULL, NULL, NULL, NULL); | 350 | m = rb->menu_init(items, sizeof(items) / sizeof(*items), NULL, NULL, NULL, NULL); |