VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-20 00:19:30 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-20 01:02:54 +0100
commitb0b149db836063cc017b2530c305a7d5da92f58d (patch)
tree8afdf8c89f392f92dbcf8933170740a700135b22 /src/Main/Forms
parentf9572ea8f5a1e4200f0ec4b8a131eed7dda6efea (diff)
downloadVeraCrypt-b0b149db836063cc017b2530c305a7d5da92f58d.tar.gz
VeraCrypt-b0b149db836063cc017b2530c305a7d5da92f58d.zip
Linux/MacOSX: Fix regression that limited the size available for hidden volumes
created on disk or partition.
Diffstat (limited to 'src/Main/Forms')
-rw-r--r--src/Main/Forms/VolumeSizeWizardPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/VolumeSizeWizardPage.cpp b/src/Main/Forms/VolumeSizeWizardPage.cpp
index 3781b05d..fc045b57 100644
--- a/src/Main/Forms/VolumeSizeWizardPage.cpp
+++ b/src/Main/Forms/VolumeSizeWizardPage.cpp
@@ -103,7 +103,7 @@ namespace VeraCrypt
try
{
uint64 uiVolumeSize = GetVolumeSize();
- if (uiVolumeSize >= MinVolumeSize && (!MaxVolumeSizeValid || uiVolumeSize <= MaxVolumeSize) && (CmdLine->ArgDisableFileSizeCheck || !AvailableDiskSpace || uiVolumeSize <= AvailableDiskSpace))
+ if (uiVolumeSize >= MinVolumeSize && (!MaxVolumeSizeValid || uiVolumeSize <= MaxVolumeSize) && (MaxVolumeSizeValid || CmdLine->ArgDisableFileSizeCheck || !AvailableDiskSpace || uiVolumeSize <= AvailableDiskSpace))
return true;
}
catch (...) { }