summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src/OptDlg.cpp
diff options
context:
space:
mode:
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;
}