From 046513b7c95d7f7a8be764216538d06d7c6b0d40 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 14 Jul 2015 14:01:55 +0200 Subject: 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) --- src/Format/Tcformat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Format') 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 } } -- cgit v1.2.3