summaryrefslogtreecommitdiff
path: root/plugins/Nudge/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Nudge/options.cpp')
-rw-r--r--plugins/Nudge/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Nudge/options.cpp b/plugins/Nudge/options.cpp
index 15bd1e224b..7d5f052c6d 100644
--- a/plugins/Nudge/options.cpp
+++ b/plugins/Nudge/options.cpp
@@ -20,14 +20,14 @@ int NudgeOptInit(WPARAM wParam,LPARAM lParam)
odp.flags = ODPF_BOLDGROUPS|ODPF_TCHAR;
// odp.nIDBottomSimpleControl = IDC_STMSNGROUP;
odp.pfnDlgProc = DlgProcNudgeOpt;
- CallService( MS_OPT_ADDPAGE, wParam,( LPARAM )&odp );
+ Options_AddPage(wParam, &odp);
odp.position = -790000001;
odp.ptszTab = LPGENT("Window Shaking");
odp.pfnDlgProc = DlgProcShakeOpt;
odp.flags |= ODPF_EXPERTONLY;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SHAKE);
- CallService( MS_OPT_ADDPAGE, wParam,( LPARAM )&odp );
+ Options_AddPage(wParam, &odp);
return 0;
}