diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-15 13:10:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-15 13:10:01 +0200 |
commit | 2db742f465be1527cbf5d6a1b64d9dba89c3eaf5 (patch) | |
tree | 859c946288441c22417054ca34b34b7da21998cc /src/Main/TextUserInterface.cpp | |
parent | 8bc8f7c66ee210a71a1e5730b676a0472006cb97 (diff) | |
parent | 1a8ce8a6112e4f74bc93f6d1a524086385b23b34 (diff) | |
download | VeraCrypt-2db742f465be1527cbf5d6a1b64d9dba89c3eaf5.tar.gz VeraCrypt-2db742f465be1527cbf5d6a1b64d9dba89c3eaf5.zip |
Merge pull request #75 from oceanBT/revert-66-patch-1
Linux: added TiB support to text mode.
Diffstat (limited to 'src/Main/TextUserInterface.cpp')
-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 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 { |