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/pacbox | |
| parent | ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (diff) | |
| download | rockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.zip rockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.tar.gz rockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.tar.bz2 rockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.tar.xz | |
'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/pacbox')
| -rw-r--r-- | apps/plugins/pacbox/pacbox.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index d7a0bec..8acc06a 100644 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c @@ -147,42 +147,42 @@ static bool pacbox_menu(void) bool need_restart = false; static const struct opt_items noyes[2] = { - { "No", 0 }, - { "Yes", 0 }, + { "No", -1 }, + { "Yes", -1 }, }; static const struct opt_items difficulty_options[2] = { - { "Normal", 0 }, - { "Harder", 0 }, + { "Normal", -1 }, + { "Harder", -1 }, }; static const struct opt_items numlives_options[4] = { - { "1", 0 }, - { "2", 0 }, - { "3", 0 }, - { "5", 0 }, + { "1", -1 }, + { "2", -1 }, + { "3", -1 }, + { "5", -1 }, }; static const struct opt_items bonus_options[4] = { - { "10000 points", 0 }, - { "15000 points", 0 }, - { "20000 points", 0 }, - { "No bonus", 0 }, + { "10000 points", -1 }, + { "15000 points", -1 }, + { "20000 points", -1 }, + { "No bonus", -1 }, }; static const struct opt_items ghostname_options[2] = { - { "Normal", 0 }, - { "Alternate", 0 }, + { "Normal", -1 }, + { "Alternate", -1 }, }; static const struct menu_item items[] = { - { "Difficulty", 0 }, - { "Pacmen Per Game", 0 }, - { "Bonus Life", 0 }, - { "Ghost Names", 0 }, - { "Display FPS", 0 }, - { "Restart", 0 }, - { "Quit", 0 }, + { "Difficulty", NULL }, + { "Pacmen Per Game", NULL }, + { "Bonus Life", NULL }, + { "Ghost Names", NULL }, + { "Display FPS", NULL }, + { "Restart", NULL }, + { "Quit", NULL }, }; m = rb->menu_init(items, sizeof(items) / sizeof(*items), |