From ead91c6f3810ad2ce6f02fd2f1511d4ac17ccd5d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 9 Aug 2013 21:08:23 -0700 Subject: [PATCH] Manager: in Transfers tab, Size refers to total size --- clientgui/ViewTransfers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientgui/ViewTransfers.cpp b/clientgui/ViewTransfers.cpp index c099fbcb2e..c900c966ad 100644 --- a/clientgui/ViewTransfers.cpp +++ b/clientgui/ViewTransfers.cpp @@ -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;