diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-02 18:57:30 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-02 19:04:12 +0200 |
commit | b39a724f26dc94df97db509158b2993a3874cdcb (patch) | |
tree | 4d14839054b834ff25fb5375e2e5d646243a9ac6 /src/Format/Tcformat.c | |
parent | fa3d4c79c900253c0e0ff74f911bdd5c2e943480 (diff) | |
download | VeraCrypt-b39a724f26dc94df97db509158b2993a3874cdcb.tar.gz VeraCrypt-b39a724f26dc94df97db509158b2993a3874cdcb.zip |
Windows: Add support for /nosizecheck switch in Format command line file container creation
Diffstat (limited to 'src/Format/Tcformat.c')
-rw-r--r-- | src/Format/Tcformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index 009f8e17..dba64c20 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -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"); } |