mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-11 10:59:56 -05: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:
1 parent
7d6cd0c92d
commit
046513b7c9
1 file changed
+1
-2
@@ -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
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user