1000Gb+ display

This commit is contained in:
acetone 2021-06-07 23:49:56 -04:00 committed by GitHub
parent 48d9a03aa8
commit d599502b1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,12 +131,8 @@ namespace win32
transfer >>= 10; transfer >>= 10;
auto mbytes = transfer & 0x03ff; auto mbytes = transfer & 0x03ff;
transfer >>= 10; transfer >>= 10;
auto gbytes = transfer & 0x03ff; auto gbytes = transfer;
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)