diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-14 14:01:55 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-14 14:03:20 +0200 |
commit | 046513b7c95d7f7a8be764216538d06d7c6b0d40 (patch) | |
tree | 31dbf56950698b9b0d3fa9f20255f52992c7c3b8 | |
parent | 7d6cd0c92d30ebb2dd0ec24744d18524538457b9 (diff) | |
download | VeraCrypt-046513b7c95d7f7a8be764216538d06d7c6b0d40.tar.gz VeraCrypt-046513b7c95d7f7a8be764216538d06d7c6b0d40.zip |
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)
-rw-r--r-- | src/Format/Tcformat.c | 3 |
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
}
}
|