VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authoroceanBT <matthiaswenskus@gmail.com>2016-06-23 19:53:24 (GMT)
committerGitHub <noreply@github.com>2016-06-23 19:53:24 (GMT)
commit1a8ce8a6112e4f74bc93f6d1a524086385b23b34 (patch)
tree86ea2776a967f221d5c0066390e1caab2c78e4ed /src/Main
parent438753522ec1d8a6cf2704532af2b2e5e45cb7bb (diff)
downloadVeraCrypt-1a8ce8a6112e4f74bc93f6d1a524086385b23b34.zip
VeraCrypt-1a8ce8a6112e4f74bc93f6d1a524086385b23b34.tar.gz
added TiB size unitrefs/pull/75/head
Diffstat (limited to 'src/Main')
-rw-r--r--src/Main/TextUserInterface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp
index 902f461..7e79103 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
{