mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01: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:
parent
7d6cd0c92d
commit
046513b7c9
@ -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
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user