diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-01-20 00:19:30 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-01-20 01:02:54 +0100 |
commit | b0b149db836063cc017b2530c305a7d5da92f58d (patch) | |
tree | 8afdf8c89f392f92dbcf8933170740a700135b22 /src/Main/Forms | |
parent | f9572ea8f5a1e4200f0ec4b8a131eed7dda6efea (diff) | |
download | VeraCrypt-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.cpp | 2 |
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 (...) { } |