Browse Source

tbytes in WinApp

pull/1660/head
acetone 4 years ago committed by GitHub
parent
commit
48d9a03aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Win32/Win32App.cpp

4
Win32/Win32App.cpp

@ -132,7 +132,11 @@ namespace win32 @@ -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)

Loading…
Cancel
Save