VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Format/Tcformat.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-14 14:01:55 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-14 14:03:20 +0200
commit046513b7c95d7f7a8be764216538d06d7c6b0d40 (patch)
tree31dbf56950698b9b0d3fa9f20255f52992c7c3b8 /src/Format/Tcformat.c
parent7d6cd0c92d30ebb2dd0ec24744d18524538457b9 (diff)
downloadVeraCrypt-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)
Diffstat (limited to 'src/Format/Tcformat.c')
-rw-r--r--src/Format/Tcformat.c3
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
}
}