From 826730650ce24f3b886d49df470257cd745e7337 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 15 Dec 2019 23:21:55 +0100 Subject: Windows: make /fastCreateFile switch apply to both UI and command line creation of file containers --- src/Format/Tcformat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3