diff options
| author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-08-11 12:48:36 +0000 |
|---|---|---|
| committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-08-11 12:48:36 +0000 |
| commit | d24ed9987b54c16fd73087cf01c27bafcf03dd1c (patch) | |
| tree | f02b472300bc39fa499e1d5135499aa4f942d001 /apps/plugins/lib | |
| parent | ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (diff) | |
| download | rockbox-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/lib')
| -rw-r--r-- | apps/plugins/lib/playback_control.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/lib/playback_control.c b/apps/plugins/lib/playback_control.c index 35a2b92..1638a0f 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", 0}, - {"Yes", 0} + { "No", -1 }, + { "Yes", -1 } }; 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", 0 }, - { "Repeat All", 0 }, - { "Repeat One", 0 }, - { "Repeat Shuffle", 0 }, + { "Off", -1 }, + { "Repeat All", -1 }, + { "Repeat One", -1 }, + { "Repeat Shuffle", -1 }, #ifdef AB_REPEAT_ENABLE - { "Repeat A-B", 0 } + { "Repeat A-B", -1 } #endif }; |