From 1a8ce8a6112e4f74bc93f6d1a524086385b23b34 Mon Sep 17 00:00:00 2001 From: oceanBT Date: Thu, 23 Jun 2016 21:53:24 +0200 Subject: added TiB size unit --- src/Main/TextUserInterface.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3