From d24ed9987b54c16fd73087cf01c27bafcf03dd1c Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Fri, 11 Aug 2006 12:48:36 +0000 Subject: '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 --- apps/plugins/jpeg.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'apps/plugins/jpeg.c') 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 */ { "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); -- cgit v1.2.3