1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

add an extra check when generating status strings in a TorrentCell

This commit is contained in:
Mitchell Livingston 2011-04-07 00:56:28 +00:00
parent 712ee263de
commit 09708264f9

View file

@ -803,6 +803,9 @@
- (NSAttributedString *) attributedStatusString: (NSString *) string
{
#warning we shouldn't have to do this
if (!string)
string = @"";
return [[[NSAttributedString alloc] initWithString: string attributes: fStatusAttributes] autorelease];
}