mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 22:18:13 +00:00
[RAPPS] Addendum to 0.4.15-dev-3724-g3a7c0d8 CORE-18018
For a moment I thought this member was obsolete entirely, and intended to delete it entirely. (as its size is just ULONG which is too small for big downloads > 4GB size). It apparently works also without it to display the size, as we actually use a different member that stores the size as a string. But there actually still *is* a usage for that ULONG representation. In (the rare) corner-case the http download does not allow to query the size, then the ULONG representation m_SizeBytes is used as a fallback for the download-progress-bar to avoid 'marquee mode'. The 'fallback of the fallback' so to say. We should enlarge this to be a 64bit unsigned value some day.
This commit is contained in:
parent
3a7c0d82d2
commit
adfef37b2b
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ VOID CAvailableApplicationInfo::RetrieveSize()
|
|||
if (!m_Parser->GetInt(L"SizeBytes", iSizeBytes))
|
||||
return;
|
||||
|
||||
m_SizeBytes = iSizeBytes;
|
||||
StrFormatByteSizeW(iSizeBytes, m_szSize.GetBuffer(MAX_PATH), MAX_PATH);
|
||||
m_szSize.ReleaseBuffer();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue