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.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/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 5e221fe..dfc1986 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -2097,22 +2097,22 @@ int show_menu(void) /* return 1 to quit */
{ "Return", NULL },
};
static const struct opt_items slideshow[2] = {
- {"Disable",0},
- {"Enable",0},
+ { "Disable", -1 },
+ { "Enable", -1 },
};
static const struct opt_items timeout[12] = {
- { "1 second", 0 },
- { "2 seconds", 0 },
- { "3 seconds", 0 },
- { "4 seconds", 0 },
- { "5 seconds", 0 },
- { "6 seconds", 0 },
- { "7 seconds", 0 },
- { "8 seconds", 0 },
- { "9 seconds", 0 },
- { "10 seconds", 0 },
- { "15 seconds", 0 },
- { "20 seconds", 0 },
+ { "1 second", -1 },
+ { "2 seconds", -1 },
+ { "3 seconds", -1 },
+ { "4 seconds", -1 },
+ { "5 seconds", -1 },
+ { "6 seconds", -1 },
+ { "7 seconds", -1 },
+ { "8 seconds", -1 },
+ { "9 seconds", -1 },
+ { "10 seconds", -1 },
+ { "15 seconds", -1 },
+ { "20 seconds", -1 },
};
m = rb->menu_init(items, sizeof(items) / sizeof(*items),
NULL, NULL, NULL, NULL);