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:
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;
|
haveValid += st->haveValid;
|
||||||
sizeWhenDone += st->sizeWhenDone;
|
sizeWhenDone += st->sizeWhenDone;
|
||||||
leftUntilDone += st->leftUntilDone;
|
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