diff options
author | oceanBT <matthiaswenskus@gmail.com> | 2016-06-23 21:53:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-23 21:53:24 +0200 |
commit | 1a8ce8a6112e4f74bc93f6d1a524086385b23b34 (patch) | |
tree | 86ea2776a967f221d5c0066390e1caab2c78e4ed /src | |
parent | 438753522ec1d8a6cf2704532af2b2e5e45cb7bb (diff) | |
download | VeraCrypt-1a8ce8a6112e4f74bc93f6d1a524086385b23b34.tar.gz VeraCrypt-1a8ce8a6112e4f74bc93f6d1a524086385b23b34.zip |
added TiB size unit
Diffstat (limited to 'src')
-rw-r--r-- | src/Main/TextUserInterface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp index 902f4616..7e791035 100644 --- a/src/Main/TextUserInterface.cpp +++ b/src/Main/TextUserInterface.cpp @@ -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 { |