summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 12:48:36 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 12:48:36 +0000
commitd24ed9987b54c16fd73087cf01c27bafcf03dd1c (patch)
treef02b472300bc39fa499e1d5135499aa4f942d001 /apps/plugins/jpeg.c
parented70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (diff)
downloadrockbox-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/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index 5e221fea98..dfc198605d 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -2097,22 +2097,22 @@ int show_menu(void) /* return 1 to quit */
2097 { "Return", NULL }, 2097 { "Return", NULL },
2098 }; 2098 };
2099 static const struct opt_items slideshow[2] = { 2099 static const struct opt_items slideshow[2] = {
2100 {"Disable",0}, 2100 { "Disable", -1 },
2101 {"Enable",0}, 2101 { "Enable", -1 },
2102 }; 2102 };
2103 static const struct opt_items timeout[12] = { 2103 static const struct opt_items timeout[12] = {
2104 { "1 second", 0 }, 2104 { "1 second", -1 },
2105 { "2 seconds", 0 }, 2105 { "2 seconds", -1 },
2106 { "3 seconds", 0 }, 2106 { "3 seconds", -1 },
2107 { "4 seconds", 0 }, 2107 { "4 seconds", -1 },
2108 { "5 seconds", 0 }, 2108 { "5 seconds", -1 },
2109 { "6 seconds", 0 }, 2109 { "6 seconds", -1 },
2110 { "7 seconds", 0 }, 2110 { "7 seconds", -1 },
2111 { "8 seconds", 0 }, 2111 { "8 seconds", -1 },
2112 { "9 seconds", 0 }, 2112 { "9 seconds", -1 },
2113 { "10 seconds", 0 }, 2113 { "10 seconds", -1 },
2114 { "15 seconds", 0 }, 2114 { "15 seconds", -1 },
2115 { "20 seconds", 0 }, 2115 { "20 seconds", -1 },
2116 }; 2116 };
2117 m = rb->menu_init(items, sizeof(items) / sizeof(*items), 2117 m = rb->menu_init(items, sizeof(items) / sizeof(*items),
2118 NULL, NULL, NULL, NULL); 2118 NULL, NULL, NULL, NULL);