mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 11:14:58 -06:00
Update to 7-Zip Version 21.06
See https://sourceforge.net/p/sevenzip/discussion/45797/thread/b463f34259/
This commit is contained in:
@@ -75,11 +75,10 @@ void AddSizeValue(UString &s, UInt64 value)
|
||||
if (value >= ((UInt64)10 << 30)) { value >>= 30; c = 'G'; }
|
||||
else if (value >= (10 << 20)) { value >>= 20; c = 'M'; }
|
||||
else { value >>= 10; c = 'K'; }
|
||||
char sz[32];
|
||||
ConvertUInt64ToString(value, sz);
|
||||
|
||||
s += " (";
|
||||
s += sz;
|
||||
s += " ";
|
||||
s.Add_UInt64(value);
|
||||
s.Add_Space();
|
||||
s += (wchar_t)c;
|
||||
s += "iB)";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user