diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-10-11 19:33:27 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-10-11 19:33:27 +0000 |
commit | 987570062759999814bbed9a2c4c46b1cb93a80c (patch) | |
tree | 58597f9afbfbe6c7024786956c8206c970c38333 /apps/plugins/fireworks.c | |
parent | 40f5bb37022bf9c3dc0fba39debc945afbd59275 (diff) | |
download | rockbox-987570062759999814bbed9a2c4c46b1cb93a80c.tar.gz rockbox-987570062759999814bbed9a2c4c46b1cb93a80c.zip |
Accept FS #7933 by Mario Lang: bugfix in fireworks plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15078 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fireworks.c')
-rw-r--r-- | apps/plugins/fireworks.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index bedf82ffda..b95895342b 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c | |||
@@ -139,13 +139,12 @@ LCD_RGBPACK(19,10,26) }; | |||
139 | 139 | ||
140 | #endif | 140 | #endif |
141 | 141 | ||
142 | static const struct opt_items autofire_delay_settings[16] = { | 142 | static const struct opt_items autofire_delay_settings[15] = { |
143 | { "Off", NULL }, | 143 | { "Off", NULL }, |
144 | { "50ms", NULL }, | 144 | { "50ms", NULL }, |
145 | { "100ms", NULL }, | 145 | { "100ms", NULL }, |
146 | { "200ms", NULL }, | 146 | { "200ms", NULL }, |
147 | { "300ms", NULL }, | 147 | { "300ms", NULL }, |
148 | { "300ms", NULL }, | ||
149 | { "400ms", NULL }, | 148 | { "400ms", NULL }, |
150 | { "500ms", NULL }, | 149 | { "500ms", NULL }, |
151 | { "600ms", NULL }, | 150 | { "600ms", NULL }, |
@@ -158,7 +157,7 @@ static const struct opt_items autofire_delay_settings[16] = { | |||
158 | { "4s", NULL } | 157 | { "4s", NULL } |
159 | }; | 158 | }; |
160 | 159 | ||
161 | int autofire_delay_values[16] = { | 160 | int autofire_delay_values[15] = { |
162 | 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 }; | 161 | 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 }; |
163 | 162 | ||
164 | static const struct opt_items particle_settings[8] = { | 163 | static const struct opt_items particle_settings[8] = { |
@@ -334,7 +333,7 @@ void fireworks_menu(void) | |||
334 | break; | 333 | break; |
335 | 334 | ||
336 | case 1: | 335 | case 1: |
337 | rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 16, NULL); | 336 | rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 15, NULL); |
338 | break; | 337 | break; |
339 | 338 | ||
340 | case 2: | 339 | case 2: |