diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 078a9a985..178f43e80 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 == RepeatNone ) return nil; while ( i < 0 )