1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: solve issue introduced by the new "Use PIM" checkbox that caused error when trying to encrypt system (the wizard was executing a wrong page)

This commit is contained in:
Mounir IDRASSI
2015-07-14 14:01:55 +02:00
parent 7d6cd0c92d
commit 046513b7c9

View File

@@ -7165,6 +7165,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
if (!PimEnable) if (!PimEnable)
{ {
// PIM not activated. Skip PIM page // PIM not activated. Skip PIM page
nNewPageNo = PIM_PAGE;
volumePim = 0; volumePim = 0;
if (SysEncInEffect ()) if (SysEncInEffect ())
@@ -7182,8 +7183,6 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
{ {
nNewPageNo = FORMAT_PAGE - 1; // Skip irrelevant pages nNewPageNo = FORMAT_PAGE - 1; // Skip irrelevant pages
} }
else
nNewPageNo = PIM_PAGE; // Skip PIM page
} }
} }