mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 05:53:29 +01:00
Windows: make /fastCreateFile switch apply to both UI and command line creation of file containers
This commit is contained in:
parent
1e978e69cc
commit
826730650c
@ -6157,6 +6157,8 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fastCreateFile = CmdFastCreateFile;
|
||||||
|
|
||||||
if (DirectCreationMode)
|
if (DirectCreationMode)
|
||||||
{
|
{
|
||||||
wchar_t root[TC_MAX_PATH];
|
wchar_t root[TC_MAX_PATH];
|
||||||
@ -6238,7 +6240,6 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
|||||||
}
|
}
|
||||||
|
|
||||||
quickFormat = CmdQuickFormat;
|
quickFormat = CmdQuickFormat;
|
||||||
fastCreateFile = CmdFastCreateFile;
|
|
||||||
dynamicFormat = CmdSparseFileSwitch;
|
dynamicFormat = CmdSparseFileSwitch;
|
||||||
|
|
||||||
if (!GetDiskFreeSpaceEx (root, &free, 0, 0))
|
if (!GetDiskFreeSpaceEx (root, &free, 0, 0))
|
||||||
|
Loading…
Reference in New Issue
Block a user