diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-08-11 12:48:36 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-08-11 12:48:36 +0000 |
commit | d24ed9987b54c16fd73087cf01c27bafcf03dd1c (patch) | |
tree | f02b472300bc39fa499e1d5135499aa4f942d001 /apps/plugins/rockboy/menu.c | |
parent | ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (diff) | |
download | rockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.tar.gz rockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.zip |
'no voice' is -1 not 0 and menu_items does have a pointer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10527 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/menu.c')
-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 c87799496a..8dffaa0f43 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", 0 }, | 325 | { "Off", -1 }, |
326 | { "On" , 0 }, | 326 | { "On" , -1 }, |
327 | }; | 327 | }; |
328 | 328 | ||
329 | static const struct opt_items fullscreen[]= { | 329 | static const struct opt_items fullscreen[]= { |
330 | { "Off", 0 }, | 330 | { "Off", -1 }, |
331 | { "Fullscreen", 0 }, | 331 | { "Fullscreen", -1 }, |
332 | { "Full - Maintain Ratio", 0 }, | 332 | { "Full - Maintain Ratio", -1 }, |
333 | }; | 333 | }; |
334 | 334 | ||
335 | static const struct opt_items frameskip[]= { | 335 | static const struct opt_items frameskip[]= { |
336 | { "3 Max", 0 }, | 336 | { "3 Max", -1 }, |
337 | { "4 Max", 0 }, | 337 | { "4 Max", -1 }, |
338 | { "5 Max", 0 }, | 338 | { "5 Max", -1 }, |
339 | { "6 Max", 0 }, | 339 | { "6 Max", -1 }, |
340 | }; | 340 | }; |
341 | 341 | ||
342 | static const struct menu_item items[] = { | 342 | static const struct menu_item items[] = { |
343 | {"Max Frameskip", 0 }, | 343 | { "Max Frameskip", NULL }, |
344 | {"Sound" , 0 }, | 344 | { "Sound" , NULL }, |
345 | {"Stats" , 0 }, | 345 | { "Stats" , NULL }, |
346 | {"Fullscreen" , 0 }, | 346 | { "Fullscreen" , NULL }, |
347 | {"Set Keys (Buggy)", 0 }, | 347 | { "Set Keys (Buggy)", NULL }, |
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); |