From daceb0d94aa32dd7ea21d25c3366db89169f9b0e Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 6 Jul 2010 03:57:23 +0000 Subject: [PATCH] #3388 fix file completion percentage in the inspector --- macosx/FileNameCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/FileNameCell.m b/macosx/FileNameCell.m index 7ad4b51ca..9216551cc 100644 --- a/macosx/FileNameCell.m +++ b/macosx/FileNameCell.m @@ -206,7 +206,7 @@ FileListNode * node = (FileListNode *)[self objectValue]; const CGFloat progress = [torrent fileProgress: node]; - NSString * percentString = [NSString percentString: [self floatValue] longDecimals: YES]; + NSString * percentString = [NSString percentString: progress longDecimals: YES]; NSString * status = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@", "Inspector -> Files tab -> file status string"), percentString, [NSString stringForFileSize: [node size]]];