summaryrefslogtreecommitdiff
path: root/plugins/Nudge
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
commit41ee395da7530c17656bd06f84638ab8d9d3776d (patch)
tree4f28423e3acb809b9be60f467d7fbca262a612d5 /plugins/Nudge
parente79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff)
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/Nudge')
-rw-r--r--plugins/Nudge/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Nudge/src/options.cpp b/plugins/Nudge/src/options.cpp
index 3d1c77c654..157cc48682 100644
--- a/plugins/Nudge/src/options.cpp
+++ b/plugins/Nudge/src/options.cpp
@@ -381,12 +381,12 @@ int NudgeOptInit(WPARAM wParam, LPARAM)
odp.szTab.a = LPGEN("Nudge");
odp.flags = ODPF_BOLDGROUPS;
odp.pfnDlgProc = DlgProcNudgeOpt;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.position = -790000001;
odp.szTab.a = LPGEN("Window Shaking");
odp.pfnDlgProc = DlgProcShakeOpt;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SHAKE);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}