VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-15 23:21:55 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-16 00:46:49 +0100
commit826730650ce24f3b886d49df470257cd745e7337 (patch)
tree72f2f77d17a2fffd8878c5fb1f61e1ebed44c6ce
parent1e978e69cc3fdd3482091c770014646349812023 (diff)
downloadVeraCrypt-826730650ce24f3b886d49df470257cd745e7337.tar.gz
VeraCrypt-826730650ce24f3b886d49df470257cd745e7337.zip
Windows: make /fastCreateFile switch apply to both UI and command line creation of file containers
-rw-r--r--src/Format/Tcformat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c
index f886e0bc..58800aa5 100644
--- a/src/Format/Tcformat.c
+++ b/src/Format/Tcformat.c
@@ -6157,6 +6157,8 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
exit (0);
}
+ fastCreateFile = CmdFastCreateFile;
+
if (DirectCreationMode)
{
wchar_t root[TC_MAX_PATH];
@@ -6238,7 +6240,6 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
}
quickFormat = CmdQuickFormat;
- fastCreateFile = CmdFastCreateFile;
dynamicFormat = CmdSparseFileSwitch;
if (!GetDiskFreeSpaceEx (root, &free, 0, 0))