Manager: in Transfers tab, Size refers to total size

This commit is contained in:
David Anderson 2013-08-09 21:08:23 -07:00
parent 1c31f6feaa
commit ead91c6f38
1 changed files with 2 additions and 2 deletions

View File

@ -109,9 +109,9 @@ static bool CompareViewTransferItems(int iRowIndex1, int iRowIndex2) {
}
break;
case COLUMN_SIZE:
if (transfer1->m_fBytesXferred < transfer2->m_fBytesXferred) {
if (transfer1->m_fTotalBytes < transfer2->m_fTotalBytes) {
result = -1;
} else if (transfer1->m_fBytesXferred > transfer2->m_fBytesXferred) {
} else if (transfer1->m_fTotalBytes > transfer2->m_fTotalBytes) {
result = 1;
}
break;