1
0
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:
acetone 2021-06-07 12:58:57 -04:00 committed by GitHub
parent 5fb426b336
commit 48d9a03aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,11 @@ namespace win32
auto mbytes = transfer & 0x03ff;
transfer >>= 10;
auto gbytes = transfer & 0x03ff;
transfer >>= 10;
auto tbytes = transfer & 0x03ff;
if (tbytes)
s << tbytes << " TB, ";
if (gbytes)
s << gbytes << " GB, ";
if (mbytes)