summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/playback_control.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/lib/playback_control.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/lib/playback_control.c')
-rw-r--r--apps/plugins/lib/playback_control.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/lib/playback_control.c b/apps/plugins/lib/playback_control.c
index e034ecf..35a2b92 100644
--- a/apps/plugins/lib/playback_control.c
+++ b/apps/plugins/lib/playback_control.c
@@ -57,8 +57,8 @@ static bool volume(void)
static bool shuffle(void)
{
struct opt_items names[] = {
- {"No", NULL},
- {"Yes", NULL}
+ {"No", 0},
+ {"Yes", 0}
};
return api->set_option("Shuffle", &api->global_settings->playlist_shuffle,
BOOL, names, 2,NULL);
@@ -68,12 +68,12 @@ static bool repeat_mode(void)
{
bool result;
static const struct opt_items names[] = {
- { "Off", NULL },
- { "Repeat All", NULL },
- { "Repeat One", NULL },
- { "Repeat Shuffle", NULL },
+ { "Off", 0 },
+ { "Repeat All", 0 },
+ { "Repeat One", 0 },
+ { "Repeat Shuffle", 0 },
#ifdef AB_REPEAT_ENABLE
- { "Repeat A-B", NULL }
+ { "Repeat A-B", 0 }
#endif
};