From 9ceb3c805dfcb53c84fc8e5c48c922dbcfd24fd4 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 28 Nov 2009 17:04:03 +0000 Subject: [PATCH] #2621 Percentage of retrieved metadata was between 0 and 1, not 0 and 100 --- macosx/Torrent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index ce54c1156..833d165fe 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -919,7 +919,7 @@ int trashDataFile(const char * filename) { NSString * progressString = fStat->metadataPercentComplete > 0.0 ? [NSString localizedStringWithFormat: NSLocalizedString(@"%.2f%% of torrent metadata retrieved", - "Torrent -> progress string"), fStat->metadataPercentComplete] + "Torrent -> progress string"), 100.0 * fStat->metadataPercentComplete] : NSLocalizedString(@"torrent metadata needed", "Torrent -> progress string"); return [NSString stringWithFormat: @"%@ - %@", NSLocalizedString(@"Magnetized transfer", "Torrent -> progress string"),