mirror of
https://github.com/transmission/transmission
synced 2024-12-29 02:56:11 +00:00
fix availability not showing 100% in gtk details view (#1181)
#1180 Co-authored-by: Charles Kerr <ckerr@github.com>
This commit is contained in:
parent
7b53f4238d
commit
def7634f18
1 changed files with 1 additions and 1 deletions
|
@ -948,7 +948,7 @@ static void refreshInfo(struct DetailsImpl* di, tr_torrent** torrents, int n)
|
|||
haveValid += st->haveValid;
|
||||
sizeWhenDone += st->sizeWhenDone;
|
||||
leftUntilDone += st->leftUntilDone;
|
||||
available += st->sizeWhenDone - st->leftUntilDone + st->desiredAvailable;
|
||||
available += st->sizeWhenDone - st->leftUntilDone + st->haveUnchecked + st->desiredAvailable;
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue