mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-30 23:13:31 +01:00
Windows: Add support for /nosizecheck switch in Format command line file container creation
This commit is contained in:
parent
fa3d4c79c9
commit
b39a724f26
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user