From 4f3c9923ba06475a89deabb6ac40d17ce01484fa Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 9 Feb 2011 02:49:32 +0000 Subject: [PATCH] format the number of times opened --- macosx/StatsWindowController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1