mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-08 01:36:34 -05:00
Windows: Add support for /nosizecheck switch in Format command line file container creation
This commit is contained in:
1 file changed
+1
-1
@@ -6243,7 +6243,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!dynamicFormat && (nVolumeSize > free.QuadPart))
|
||||
if (!dynamicFormat && !bDontCheckFileContainerSize && (nVolumeSize > free.QuadPart))
|
||||
{
|
||||
AbortProcess ("ERR_CONTAINER_SIZE_TOO_BIG");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user