From b39a724f26dc94df97db509158b2993a3874cdcb Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 2 Oct 2019 18:57:30 +0200 Subject: Windows: Add support for /nosizecheck switch in Format command line file container creation --- src/Format/Tcformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Format/Tcformat.c') 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"); } -- cgit v1.2.3