Fix repeat none and repeat all being swapped

CQTexperiment
Chris Moeller 2015-02-07 23:36:23 -08:00
parent ff4b8dd912
commit 321a5ea23f
1 changed files with 1 additions and 1 deletions

View File

@ -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 )