diff options
author | George Hazan <george.hazan@gmail.com> | 2016-02-29 07:16:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-02-29 07:16:26 +0000 |
commit | 6df974bc3fa6657b37fb039fc77458463629326a (patch) | |
tree | 775248cdefcaea5524fff561482ddb5650ec2029 /plugins/Import/src/wizard.cpp | |
parent | ec16dc405006d89937a3e07a5ea47bad8191684b (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.cpp | 3 |
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);
}
|