diff options
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 56ffccc474..6997b12675 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -1056,7 +1056,7 @@ static int get_next_index(const struct playlist_info* playlist, int steps, | |||
1056 | } | 1056 | } |
1057 | 1057 | ||
1058 | case REPEAT_ONE: | 1058 | case REPEAT_ONE: |
1059 | #if (AB_REPEAT_ENABLE == 1) | 1059 | #ifdef AB_REPEAT_ENABLE |
1060 | case REPEAT_AB: | 1060 | case REPEAT_AB: |
1061 | #endif | 1061 | #endif |
1062 | next_index = current_index; | 1062 | next_index = current_index; |
@@ -2479,7 +2479,7 @@ int playlist_next(int steps) | |||
2479 | int index; | 2479 | int index; |
2480 | 2480 | ||
2481 | if ( (steps > 0) | 2481 | if ( (steps > 0) |
2482 | #if (AB_REPEAT_ENABLE == 1) | 2482 | #ifdef AB_REPEAT_ENABLE |
2483 | && (global_settings.repeat_mode != REPEAT_AB) | 2483 | && (global_settings.repeat_mode != REPEAT_AB) |
2484 | #endif | 2484 | #endif |
2485 | && (global_settings.repeat_mode != REPEAT_ONE) ) | 2485 | && (global_settings.repeat_mode != REPEAT_ONE) ) |