From a4fe974a381708b05a8fe619fcb85995465317f9 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 9 May 2007 03:11:37 +0000 Subject: [PATCH] removed extra 0 on times that weren't working with localization anyway --- macosx/Torrent.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 41fc8cc87..29b3bb251 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -370,10 +370,10 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80 if (eta < 60) [remainingTimeString appendFormat: NSLocalizedString(@"%d sec", "Torrent -> remaining time"), eta]; else if (eta < 3600) //60 * 60 - [remainingTimeString appendFormat: NSLocalizedString(@"%d min %02d sec", "Torrent -> remaining time"), + [remainingTimeString appendFormat: NSLocalizedString(@"%d min %d sec", "Torrent -> remaining time"), eta / 60, eta % 60]; else if (eta < 86400) //24 * 60 * 60 - [remainingTimeString appendFormat: NSLocalizedString(@"%d hr %02d min", "Torrent -> remaining time"), + [remainingTimeString appendFormat: NSLocalizedString(@"%d hr %d min", "Torrent -> remaining time"), eta / 3600, (eta / 60) % 60]; else {