mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 15:14:14 +00:00
tbytes in WinApp
This commit is contained in:
parent
5fb426b336
commit
48d9a03aa8
@ -132,7 +132,11 @@ namespace win32
|
|||||||
auto mbytes = transfer & 0x03ff;
|
auto mbytes = transfer & 0x03ff;
|
||||||
transfer >>= 10;
|
transfer >>= 10;
|
||||||
auto gbytes = transfer & 0x03ff;
|
auto gbytes = transfer & 0x03ff;
|
||||||
|
transfer >>= 10;
|
||||||
|
auto tbytes = transfer & 0x03ff;
|
||||||
|
|
||||||
|
if (tbytes)
|
||||||
|
s << tbytes << " TB, ";
|
||||||
if (gbytes)
|
if (gbytes)
|
||||||
s << gbytes << " GB, ";
|
s << gbytes << " GB, ";
|
||||||
if (mbytes)
|
if (mbytes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user