summaryrefslogtreecommitdiff
path: root/plugins/YAPP
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAPP')
-rw-r--r--plugins/YAPP/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YAPP/options.cpp b/plugins/YAPP/options.cpp
index d161234afe..268135db8b 100644
--- a/plugins/YAPP/options.cpp
+++ b/plugins/YAPP/options.cpp
@@ -480,12 +480,12 @@ int OptInit(WPARAM wParam, LPARAM lParam) {
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT1);
odp.pszTab = LPGEN("Settings");
odp.pfnDlgProc = DlgProcOpts1;
- CallService( MS_OPT_ADDPAGE, wParam,( LPARAM )&odp );
+ Options_AddPage(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_CLASSES);
odp.pszTab = LPGEN("Classes");
odp.pfnDlgProc = DlgProcOptsClasses;
- CallService( MS_OPT_ADDPAGE, wParam, (LPARAM)&odp );
+ Options_AddPage(wParam, &odp);
return 0;
}