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
@@ -7165,6 +7165,7 @@ 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 ())
@@ -7182,8 +7183,6 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
{
nNewPageNo = FORMAT_PAGE - 1; // Skip irrelevant pages
}
- else
- nNewPageNo = PIM_PAGE; // Skip PIM page
}
}