From b0b149db836063cc017b2530c305a7d5da92f58d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 20 Jan 2020 00:19:30 +0100 Subject: [PATCH] Linux/MacOSX: Fix regression that limited the size available for hidden volumes created on disk or partition. --- src/Main/Forms/VolumeSizeWizardPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (...) { }