diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-12-15 23:21:55 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-12-16 00:46:49 +0100 |
commit | 826730650ce24f3b886d49df470257cd745e7337 (patch) | |
tree | 72f2f77d17a2fffd8878c5fb1f61e1ebed44c6ce /src/Format/Tcformat.c | |
parent | 1e978e69cc3fdd3482091c770014646349812023 (diff) | |
download | VeraCrypt-826730650ce24f3b886d49df470257cd745e7337.tar.gz VeraCrypt-826730650ce24f3b886d49df470257cd745e7337.zip |
Windows: make /fastCreateFile switch apply to both UI and command line creation of file containers
Diffstat (limited to 'src/Format/Tcformat.c')
-rw-r--r-- | src/Format/Tcformat.c | 3 |
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)) |