diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 1520cdcf0..25cf95bc9 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -822,7 +822,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80 objectAtIndex: 0]; NSDictionary * fsAttributes = [[NSFileManager defaultManager] fileSystemAttributesAtPath: [self downloadFolder]]; uint64_t remainingSpace = [[fsAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue], - torrentRemaining = [self size] - (uint64_t)[self downloadedValid]; + torrentRemaining = fStat->left; if (volumeName && remainingSpace <= torrentRemaining) {