sys: Fixed byte units

This commit is contained in:
WerWolv
2022-06-30 11:43:40 +02:00
parent 034cc0cd2f
commit 1f433fc36d

View File

@@ -90,22 +90,22 @@ namespace hex {
result += ((value == 1) ? " Byte" : " Bytes");
break;
case 1:
result += " kB";
result += " kiB";
break;
case 2:
result += " MB";
result += " MiB";
break;
case 3:
result += " GB";
result += " GiB";
break;
case 4:
result += " TB";
result += " TiB";
break;
case 5:
result += " PB";
result += " PiB";
break;
case 6:
result += " EB";
result += " EiB";
break;
default:
result = "A lot!";