From d40eaf6d97156b8d012132cba83986368540aec4 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 7 Apr 2008 03:43:20 +0000 Subject: [PATCH] fix ratio display error reported by pea_ --- macosx/NSStringAdditions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/NSStringAdditions.m b/macosx/NSStringAdditions.m index ee8861371..a5e2d780c 100644 --- a/macosx/NSStringAdditions.m +++ b/macosx/NSStringAdditions.m @@ -103,7 +103,7 @@ else if (ratio <= 99.95) //10.0 to 99.9 return [NSString localizedStringWithFormat: @"%.1f", ratio]; else //rest are single digit - return [NSString stringWithFormat: @"%d", ratio]; + return [NSString stringWithFormat: @"%.0f", ratio]; } + (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds