VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Format/Tcformat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c
index 7106a230..be4919ab 100644
--- a/src/Format/Tcformat.c
+++ b/src/Format/Tcformat.c
@@ -7164,8 +7164,9 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
if (!PimEnable)
{
// PIM not activated. Skip PIM page
+ nNewPageNo = PIM_PAGE;
volumePim = 0;
if (SysEncInEffect ())
{
@@ -7181,10 +7182,8 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|| CreatingHiddenSysVol()) // If we're creating a hidden volume for a hidden OS, we don't need to format it with any filesystem (the entire OS will be copied to the hidden volume sector by sector).
{
nNewPageNo = FORMAT_PAGE - 1; // Skip irrelevant pages
}
- else
- nNewPageNo = PIM_PAGE; // Skip PIM page
}
}