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 | |
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
-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 | |||
6157 | exit (0); | 6157 | exit (0); |
6158 | } | 6158 | } |
6159 | 6159 | ||
6160 | fastCreateFile = CmdFastCreateFile; | ||
6161 | |||
6160 | if (DirectCreationMode) | 6162 | if (DirectCreationMode) |
6161 | { | 6163 | { |
6162 | wchar_t root[TC_MAX_PATH]; | 6164 | wchar_t root[TC_MAX_PATH]; |
@@ -6238,7 +6240,6 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa | |||
6238 | } | 6240 | } |
6239 | 6241 | ||
6240 | quickFormat = CmdQuickFormat; | 6242 | quickFormat = CmdQuickFormat; |
6241 | fastCreateFile = CmdFastCreateFile; | ||
6242 | dynamicFormat = CmdSparseFileSwitch; | 6243 | dynamicFormat = CmdSparseFileSwitch; |
6243 | 6244 | ||
6244 | if (!GetDiskFreeSpaceEx (root, &free, 0, 0)) | 6245 | if (!GetDiskFreeSpaceEx (root, &free, 0, 0)) |