summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 11:35:26 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 11:35:26 +0000
commited70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (patch)
tree490c605b9feb1e0910c9109ce05411118a0d3d29 /apps/plugins/jpeg.c
parent3b52bb9c68665c6860c7da6f8ee0b3d8fe26d53d (diff)
downloadrockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.zip
rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.tar.gz
rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.tar.bz2
rockbox-ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4.tar.xz
don't assign NULL to a long (fixes sim build warnings)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 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 9a32a8c..5e221fe 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",NULL},
- {"Enable",NULL},
+ {"Disable",0},
+ {"Enable",0},
};
static const struct opt_items timeout[12] = {
- { "1 second", NULL },
- { "2 seconds", NULL },
- { "3 seconds", NULL },
- { "4 seconds", NULL },
- { "5 seconds", NULL },
- { "6 seconds", NULL },
- { "7 seconds", NULL },
- { "8 seconds", NULL },
- { "9 seconds", NULL },
- { "10 seconds", NULL },
- { "15 seconds", NULL },
- { "20 seconds", NULL },
+ { "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 },
};
m = rb->menu_init(items, sizeof(items) / sizeof(*items),
NULL, NULL, NULL, NULL);