VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
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 035e458e..32c34fd3 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
{