From 25236a254af447d445aa140bc64da70b3e317bd5 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sat, 7 Feb 2015 23:38:16 -0800 Subject: [PATCH] On second thought, let's not allow other repeat modes to wrap around the playlist boundary, either --- Playlist/PlaylistController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 178f43e80..41113fc6a 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -501,7 +501,7 @@ RepeatMode repeat = [self repeat]; if (i < 0 || i >= [[self arrangedObjects] count] ) { - if ( repeat == RepeatNone ) + if ( repeat != RepeatAll ) return nil; while ( i < 0 )