mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: make /fastCreateFile switch apply to both UI and command line creation of file containers
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user