VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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
{