From a8abe949925a8d1fb19875fa08b03af3fc1890a8 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 28 Jun 2020 19:01:24 +0200 Subject: [PATCH] Windows: Avoid displaying waiting dialog when /silent specified for "VeraCrypt Format" during creating of file container using /create switch and a filesystem other than FAT (fixes Github issue #648) --- src/Common/Format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Format.c b/src/Common/Format.c index b6ef3199..da6054e6 100644 --- a/src/Common/Format.c +++ b/src/Common/Format.c @@ -768,7 +768,7 @@ int TCFormatVolume (volatile FORMAT_VOL_PARAMETERS *volParams) mountOptions.PartitionInInactiveSysEncScope = FALSE; mountOptions.UseBackupHeader = FALSE; - if (MountVolume (volParams->hwndDlg, driveNo, volParams->volumePath, volParams->password, volParams->pkcs5, volParams->pim, FALSE, FALSE, FALSE, TRUE, &mountOptions, FALSE, TRUE) < 1) + if (MountVolume (volParams->hwndDlg, driveNo, volParams->volumePath, volParams->password, volParams->pkcs5, volParams->pim, FALSE, FALSE, FALSE, TRUE, &mountOptions, Silent, TRUE) < 1) { if (!Silent) {