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/pacbox | |
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/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 d66c6377b9..d7a0becdd0 100644 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c | |||
@@ -147,42 +147,42 @@ static bool pacbox_menu(void) | |||
147 | bool need_restart = false; | 147 | bool need_restart = false; |
148 | 148 | ||
149 | static const struct opt_items noyes[2] = { | 149 | static const struct opt_items noyes[2] = { |
150 | { "No", NULL }, | 150 | { "No", 0 }, |
151 | { "Yes", NULL }, | 151 | { "Yes", 0 }, |
152 | }; | 152 | }; |
153 | 153 | ||
154 | static const struct opt_items difficulty_options[2] = { | 154 | static const struct opt_items difficulty_options[2] = { |
155 | { "Normal", NULL }, | 155 | { "Normal", 0 }, |
156 | { "Harder", NULL }, | 156 | { "Harder", 0 }, |
157 | }; | 157 | }; |
158 | 158 | ||
159 | static const struct opt_items numlives_options[4] = { | 159 | static const struct opt_items numlives_options[4] = { |
160 | { "1", NULL }, | 160 | { "1", 0 }, |
161 | { "2", NULL }, | 161 | { "2", 0 }, |
162 | { "3", NULL }, | 162 | { "3", 0 }, |
163 | { "5", NULL }, | 163 | { "5", 0 }, |
164 | }; | 164 | }; |
165 | 165 | ||
166 | static const struct opt_items bonus_options[4] = { | 166 | static const struct opt_items bonus_options[4] = { |
167 | { "10000 points", NULL }, | 167 | { "10000 points", 0 }, |
168 | { "15000 points", NULL }, | 168 | { "15000 points", 0 }, |
169 | { "20000 points", NULL }, | 169 | { "20000 points", 0 }, |
170 | { "No bonus", NULL }, | 170 | { "No bonus", 0 }, |
171 | }; | 171 | }; |
172 | 172 | ||
173 | static const struct opt_items ghostname_options[2] = { | 173 | static const struct opt_items ghostname_options[2] = { |
174 | { "Normal", NULL }, | 174 | { "Normal", 0 }, |
175 | { "Alternate", NULL }, | 175 | { "Alternate", 0 }, |
176 | }; | 176 | }; |
177 | 177 | ||
178 | static const struct menu_item items[] = { | 178 | static const struct menu_item items[] = { |
179 | { "Difficulty", NULL }, | 179 | { "Difficulty", 0 }, |
180 | { "Pacmen Per Game", NULL }, | 180 | { "Pacmen Per Game", 0 }, |
181 | { "Bonus Life", NULL }, | 181 | { "Bonus Life", 0 }, |
182 | { "Ghost Names", NULL }, | 182 | { "Ghost Names", 0 }, |
183 | { "Display FPS", NULL }, | 183 | { "Display FPS", 0 }, |
184 | { "Restart", NULL }, | 184 | { "Restart", 0 }, |
185 | { "Quit", NULL }, | 185 | { "Quit", 0 }, |
186 | }; | 186 | }; |
187 | 187 | ||
188 | m = rb->menu_init(items, sizeof(items) / sizeof(*items), | 188 | m = rb->menu_init(items, sizeof(items) / sizeof(*items), |