From d2235536c59f4c20fdeeb27e8b89a48a8275e413 Mon Sep 17 00:00:00 2001 From: vspader Date: Sat, 7 Mar 2009 11:52:42 -0800 Subject: [PATCH] Fixed nil sent to NSAttributedString. --- Playlist/SecondsFormatter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Playlist/SecondsFormatter.m b/Playlist/SecondsFormatter.m index 511701444..5978fbb72 100644 --- a/Playlist/SecondsFormatter.m +++ b/Playlist/SecondsFormatter.m @@ -32,7 +32,7 @@ unsigned seconds = 0; if(nil == object || NO == [object isKindOfClass:[NSNumber class]] || isnan([object doubleValue])) { - return nil; + return @""; } value = (unsigned)([object doubleValue]);