summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-10-11 19:33:27 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-10-11 19:33:27 +0000
commit987570062759999814bbed9a2c4c46b1cb93a80c (patch)
tree58597f9afbfbe6c7024786956c8206c970c38333 /apps/plugins
parent40f5bb37022bf9c3dc0fba39debc945afbd59275 (diff)
downloadrockbox-987570062759999814bbed9a2c4c46b1cb93a80c.zip
rockbox-987570062759999814bbed9a2c4c46b1cb93a80c.tar.gz
rockbox-987570062759999814bbed9a2c4c46b1cb93a80c.tar.bz2
rockbox-987570062759999814bbed9a2c4c46b1cb93a80c.tar.xz
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')
-rw-r--r--apps/plugins/fireworks.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c
index bedf82f..b958953 100644
--- a/apps/plugins/fireworks.c
+++ b/apps/plugins/fireworks.c
@@ -139,13 +139,12 @@ LCD_RGBPACK(19,10,26) };
#endif
-static const struct opt_items autofire_delay_settings[16] = {
+static const struct opt_items autofire_delay_settings[15] = {
{ "Off", NULL },
{ "50ms", NULL },
{ "100ms", NULL },
{ "200ms", NULL },
{ "300ms", NULL },
- { "300ms", NULL },
{ "400ms", NULL },
{ "500ms", NULL },
{ "600ms", NULL },
@@ -158,7 +157,7 @@ static const struct opt_items autofire_delay_settings[16] = {
{ "4s", NULL }
};
-int autofire_delay_values[16] = {
+int autofire_delay_values[15] = {
0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 };
static const struct opt_items particle_settings[8] = {
@@ -334,7 +333,7 @@ void fireworks_menu(void)
break;
case 1:
- rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 16, NULL);
+ rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 15, NULL);
break;
case 2: