summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/dlg_propsheet.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-07 20:50:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-07 20:50:13 +0000
commit5fbea6c9b7b89fd01f64a67244bddf6ecc8a7187 (patch)
tree6c7228c01a0f7d42e8dc285333f7fdb44069edcb /plugins/UserInfoEx/src/dlg_propsheet.cpp
parent72fd4143b5a49a5842ce0af179b177551d356f91 (diff)
more cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@4376 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/dlg_propsheet.cpp')
-rw-r--r--plugins/UserInfoEx/src/dlg_propsheet.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp
index dfde72915f..0510e79b48 100644
--- a/plugins/UserInfoEx/src/dlg_propsheet.cpp
+++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp
@@ -350,11 +350,8 @@ static INT_PTR ShowDialog(WPARAM wParam, LPARAM lParam)
}
// create the dialog itself
hWnd = CreateDialogParam(ghInst, MAKEINTRESOURCE(IDD_DETAILS), NULL, DlgProc, (LPARAM)&psh);
- if (!hWnd) {
+ if (!hWnd)
MsgErr(NULL, LPGENT("Details dialog failed to be created. Returning error is %d."), GetLastError());
- }
- else
- MagneticWindows_AddWindow(hWnd);
}
return 0;
}
@@ -1809,7 +1806,6 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
DeleteObject(pPs->hCaptionFont);
DeleteObject(pPs->hBoldFont);
mir_free(pPs); pPs = NULL;
- MagneticWindows_RemoveWindow(hDlg);
}
}
return FALSE;