Fixed broken window title display when no artist tag is found
parent
a02859a3fc
commit
6873a2730b
|
@ -278,9 +278,8 @@
|
||||||
|
|
||||||
- (NSString *)display
|
- (NSString *)display
|
||||||
{
|
{
|
||||||
if ([[self artist] isEqualToString:@""]) {
|
if ((artist == NULL) || ([[self artist] isEqualToString:@""]))
|
||||||
return title;
|
return title;
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
return [NSString stringWithFormat:@"%@ - %@", artist, title];
|
return [NSString stringWithFormat:@"%@ - %@", artist, title];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue