diff options
Diffstat (limited to 'apps/plugins/lib/playback_control.c')
-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 35a2b92b51..1638a0f663 100644 --- a/apps/plugins/lib/playback_control.c +++ b/apps/plugins/lib/playback_control.c | |||
@@ -57,8 +57,8 @@ static bool volume(void) | |||
57 | static bool shuffle(void) | 57 | static bool shuffle(void) |
58 | { | 58 | { |
59 | struct opt_items names[] = { | 59 | struct opt_items names[] = { |
60 | {"No", 0}, | 60 | { "No", -1 }, |
61 | {"Yes", 0} | 61 | { "Yes", -1 } |
62 | }; | 62 | }; |
63 | return api->set_option("Shuffle", &api->global_settings->playlist_shuffle, | 63 | return api->set_option("Shuffle", &api->global_settings->playlist_shuffle, |
64 | BOOL, names, 2,NULL); | 64 | BOOL, names, 2,NULL); |
@@ -68,12 +68,12 @@ static bool repeat_mode(void) | |||
68 | { | 68 | { |
69 | bool result; | 69 | bool result; |
70 | static const struct opt_items names[] = { | 70 | static const struct opt_items names[] = { |
71 | { "Off", 0 }, | 71 | { "Off", -1 }, |
72 | { "Repeat All", 0 }, | 72 | { "Repeat All", -1 }, |
73 | { "Repeat One", 0 }, | 73 | { "Repeat One", -1 }, |
74 | { "Repeat Shuffle", 0 }, | 74 | { "Repeat Shuffle", -1 }, |
75 | #ifdef AB_REPEAT_ENABLE | 75 | #ifdef AB_REPEAT_ENABLE |
76 | { "Repeat A-B", 0 } | 76 | { "Repeat A-B", -1 } |
77 | #endif | 77 | #endif |
78 | }; | 78 | }; |
79 | 79 | ||