diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index f19695c3b..1061e7067 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -1094,8 +1094,13 @@ typedef enum torrent = [fTorrents objectAtIndex: 0]; [fStateField setStringValue: [torrent stateString]]; - [fProgressField setStringValue: [NSString localizedStringWithFormat: NSLocalizedString(@"%.2f%% (%.2f%% selected)", - "Inspector -> Activity tab -> progress"), 100.0 * [torrent progress], 100.0 * [torrent progressDone]]]; + + if ([torrent folder]) + [fProgressField setStringValue: [NSString localizedStringWithFormat: NSLocalizedString(@"%.2f%% (%.2f%% selected)", + "Inspector -> Activity tab -> progress"), 100.0 * [torrent progress], 100.0 * [torrent progressDone]]]; + else + [fProgressField setStringValue: [NSString localizedStringWithFormat: @"%.2f%%", 100.0 * [torrent progress]]]; + [fRatioField setStringValue: [NSString stringForRatio: [torrent ratio]]]; [fSwarmSpeedField setStringValue: [torrent isActive] ? [NSString stringForSpeed: [torrent swarmSpeed]] : @""];