summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src/OptDlg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-05 21:10:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-05 21:10:22 +0300
commitd9fddc0cfa9066eb1b5ad3f4807b37426ae6ca88 (patch)
treef09baaf9b91477d009cedc5bd77449b0fa3e3af7 /plugins/ClientChangeNotify/src/OptDlg.cpp
parent8a1ff32e54b39ceef22df61bda17bbfda94918fc (diff)
Popup:
- wiping out checks for service presence; - code cleaning
Diffstat (limited to 'plugins/ClientChangeNotify/src/OptDlg.cpp')
-rw-r--r--plugins/ClientChangeNotify/src/OptDlg.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/plugins/ClientChangeNotify/src/OptDlg.cpp b/plugins/ClientChangeNotify/src/OptDlg.cpp
index 5c6dfc3e99..536334e4a4 100644
--- a/plugins/ClientChangeNotify/src/OptDlg.cpp
+++ b/plugins/ClientChangeNotify/src/OptDlg.cpp
@@ -160,16 +160,14 @@ INT_PTR CALLBACK PopupOptDlg(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
int OptionsDlgInit(WPARAM wParam, LPARAM)
{
- if (bPopupExists) {
- OPTIONSDIALOGPAGE optDi = {};
- optDi.position = 920000000;
- optDi.szGroup.a = LPGEN("Popups");
- optDi.szTitle.a = LPGEN("ClientChangeNotify");
- optDi.pfnDlgProc = PopupOptDlg;
- optDi.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPOPTDLG);
- optDi.flags = ODPF_BOLDGROUPS;
- g_plugin.addOptions(wParam, &optDi);
- }
+ OPTIONSDIALOGPAGE optDi = {};
+ optDi.position = 920000000;
+ optDi.szGroup.a = LPGEN("Popups");
+ optDi.szTitle.a = LPGEN("ClientChangeNotify");
+ optDi.pfnDlgProc = PopupOptDlg;
+ optDi.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPOPTDLG);
+ optDi.flags = ODPF_BOLDGROUPS;
+ g_plugin.addOptions(wParam, &optDi);
return 0;
}