From: Mitchell Livingston Date: Wed, 9 Feb 2011 02:49:32 +0000 (+0000) Subject: format the number of times opened X-Git-Tag: 2.30b1~395 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f3c9923ba06475a89deabb6ac40d17ce01484fa;p=transmission format the number of times opened --- diff --git a/macosx/StatsWindowController.m b/macosx/StatsWindowController.m index 96b5c6493..aac1513c0 100644 --- a/macosx/StatsWindowController.m +++ b/macosx/StatsWindowController.m @@ -196,8 +196,8 @@ tr_session * fLib; if (statsAll.sessionCount == 1) [fNumOpenedField setStringValue: NSLocalizedString(@"1 time", "stats window -> times opened")]; else - [fNumOpenedField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%llu times", "stats window -> times opened"), - statsAll.sessionCount]]; + [fNumOpenedField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ times", "stats window -> times opened"), + [NSString formattedUInteger: statsAll.sessionCount]]]; } - (void) performResetStats