1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +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:
andreaskern 2020-04-26 07:07:40 +02:00 committed by GitHub
parent 7b53f4238d
commit def7634f18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
{