Fixed broken window title display when no artist tag is found

CQTexperiment
areff 2008-02-18 10:25:04 +00:00
parent a02859a3fc
commit 6873a2730b
1 changed files with 2 additions and 3 deletions

View File

@ -278,9 +278,8 @@
- (NSString *)display
{
if ([[self artist] isEqualToString:@""]) {
return title;
}
if ((artist == NULL) || ([[self artist] isEqualToString:@""]))
return title;
else {
return [NSString stringWithFormat:@"%@ - %@", artist, title];
}