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:
@@ -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
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user