From 321a5ea23fe55d3c805709074a96fa67bc7ade73 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sat, 7 Feb 2015 23:36:23 -0800 Subject: [PATCH] Fix repeat none and repeat all being swapped --- Playlist/PlaylistController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )