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;
auto mbytes = transfer & 0x03ff;
transfer >>= 10;
auto gbytes = transfer & 0x03ff;
transfer >>= 10;
auto tbytes = transfer & 0x03ff;
auto gbytes = transfer;
if (tbytes)
s << tbytes << " TB, ";
if (gbytes)
s << gbytes << " GB, ";
if (mbytes)