From ffde59b418bdb24f727aa4f4dcfdb33fbf08ce2d Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 10 May 2007 03:32:40 +0000 Subject: [PATCH] passing nil for no progress is a bit more efficient --- macosx/InfoWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 834829d47..d26abb0e6 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -684,7 +684,7 @@ else if ([ident isEqualToString: @"Progress"]) { NSNumber * progress; - return (progress = [peer objectForKey: @"Progress"]) ? progress : [NSNumber numberWithFloat: 0]; + return (progress = [peer objectForKey: @"Progress"]) ? progress : nil; } else if ([ident isEqualToString: @"UL To"]) {