On second thought, let's not allow other repeat modes to wrap around the playlist boundary, either

This commit is contained in:
Chris Moeller 2015-02-07 23:38:16 -08:00
parent 321a5ea23f
commit 25236a254a

View file

@ -501,7 +501,7 @@
RepeatMode repeat = [self repeat]; RepeatMode repeat = [self repeat];
if (i < 0 || i >= [[self arrangedObjects] count] ) { if (i < 0 || i >= [[self arrangedObjects] count] ) {
if ( repeat == RepeatNone ) if ( repeat != RepeatAll )
return nil; return nil;
while ( i < 0 ) while ( i < 0 )