summaryrefslogtreecommitdiff
path: root/plugins/Import/src/wizard.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-02-29 07:16:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-02-29 07:16:26 +0000
commit6df974bc3fa6657b37fb039fc77458463629326a (patch)
tree775248cdefcaea5524fff561482ddb5650ec2029 /plugins/Import/src/wizard.cpp
parentec16dc405006d89937a3e07a5ea47bad8191684b (diff)
- compiilation fix;
- code cleaning; - version bump. git-svn-id: http://svn.miranda-ng.org/main/trunk@16376 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Import/src/wizard.cpp')
-rw-r--r--plugins/Import/src/wizard.cpp3
1 files changed, 1 insertions, 2 deletions
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);
}