Fixed small bug in Repeat All and pressing next at last playlist entry. Enabled Shuffle button.

CQTexperiment
areff 2008-02-19 20:16:56 +00:00
parent f20b10fdd4
commit 402b403794
2 changed files with 2286 additions and 2261 deletions

File diff suppressed because it is too large Load Diff

View File

@ -431,8 +431,11 @@
if (pe == nil) if (pe == nil)
{ {
// we are at end of shuffle list, and repeat all is requested // we are at end of shuffle list, and repeat all is requested
if ((shuffle = YES) && (repeat == RepeatAll)) if (repeat == RepeatAll)
pe = [self shuffledEntryAtIndex:0]; if (shuffle == YES)
pe = [self shuffledEntryAtIndex:0];
else
pe = [self entryAtIndex:0];
else else
return NO; return NO;
} }