From 9fcf0c19f972e39de4072909a1d0ca0bda667885 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 12 Apr 2008 17:40:11 +0000 Subject: [PATCH] fix availability status bar --- macosx/Torrent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index f4d0c84e6..bd62242a6 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -889,7 +889,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void * - (float) notAvailableDesired { - return (float)(fStat->sizeWhenDone - fStat->desiredAvailable) / [self size]; + return (float)(fStat->leftUntilDone - fStat->desiredAvailable) / [self size]; } - (BOOL) isActive