VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-19 23:19:30 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-20 00:02:54 (GMT)
commitb0b149db836063cc017b2530c305a7d5da92f58d (patch)
tree8afdf8c89f392f92dbcf8933170740a700135b22 /src/Main
parentf9572ea8f5a1e4200f0ec4b8a131eed7dda6efea (diff)
downloadVeraCrypt-master.zip
VeraCrypt-master.tar.gz
Linux/MacOSX: Fix regression that limited the size available for hidden volumesHEADmaster
created on disk or partition.
Diffstat (limited to 'src/Main')
-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 3781b05..fc045b5 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 (...) { }