From 6df974bc3fa6657b37fb039fc77458463629326a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 29 Feb 2016 07:16:26 +0000 Subject: - compiilation fix; - code cleaning; - version bump. git-svn-id: http://svn.miranda-ng.org/main/trunk@16376 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Import/src/wizard.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/Import/src/wizard.cpp') diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp index fc0c4a89aa..2c22254df5 100644 --- a/plugins/Import/src/wizard.cpp +++ b/plugins/Import/src/wizard.cpp @@ -94,7 +94,6 @@ INT_PTR CALLBACK WizardDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lP switch (message) { case WM_INITDIALOG: - SetWindowLong(hdlg, GWL_USERDATA, lParam); TranslateDialogDefault(hdlg); hwndPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_WIZARDINTRO), hdlg, WizardIntroPageProc); SetWindowPos(hwndPage, 0, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOSIZE); @@ -160,7 +159,7 @@ INT_PTR CALLBACK WizardDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lP DestroyWindow(hdlg); break; case WM_DESTROY: - if (GetWindowLong(hdlg, GWL_USERDATA)) + if (g_bServiceMode) PostQuitMessage(0); } -- cgit v1.2.3