1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

added TiB size unit

This commit is contained in:
oceanBT
2016-06-23 21:53:24 +02:00
committed by GitHub
parent 438753522e
commit 1a8ce8a611

View File

@@ -638,6 +638,11 @@ namespace VeraCrypt
multiplier = 1024 * 1024 * 1024;
sizeStr.resize (sizeStr.size() - 1);
}
else if (sizeStr.find (L"T") != string::npos)
{
multiplier = 1024 * 1024 * 1024 * 1024;
sizeStr.resize (sizeStr.size() - 1);
}
try
{