summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index e8239b21f2..d760b2450d 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -994,7 +994,7 @@ static int get_next_index(const struct playlist_info* playlist, int steps,
994 } 994 }
995 995
996 case REPEAT_ONE: 996 case REPEAT_ONE:
997#ifdef AB_REPEAT_ENABLE 997#if (AB_REPEAT_ENABLE == 1)
998 case REPEAT_AB: 998 case REPEAT_AB:
999#endif 999#endif
1000 next_index = current_index; 1000 next_index = current_index;
@@ -2205,7 +2205,7 @@ int playlist_next(int steps)
2205 int index; 2205 int index;
2206 2206
2207 if ( (steps > 0) 2207 if ( (steps > 0)
2208#ifdef AB_REPEAT_ENABLE 2208#if (AB_REPEAT_ENABLE == 1)
2209 && (global_settings.repeat_mode != REPEAT_AB) 2209 && (global_settings.repeat_mode != REPEAT_AB)
2210#endif 2210#endif
2211 && (global_settings.repeat_mode != REPEAT_ONE) ) 2211 && (global_settings.repeat_mode != REPEAT_ONE) )