From 09708264f944bab4c01b3cad2774541989a9ef50 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 7 Apr 2011 00:56:28 +0000 Subject: [PATCH] add an extra check when generating status strings in a TorrentCell --- macosx/TorrentCell.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macosx/TorrentCell.m b/macosx/TorrentCell.m index a78df9320..a85acee18 100644 --- a/macosx/TorrentCell.m +++ b/macosx/TorrentCell.m @@ -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]; }