summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory/options.cpp')
-rw-r--r--plugins/AvatarHistory/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AvatarHistory/options.cpp b/plugins/AvatarHistory/options.cpp
index 2d1a75116a..bd4da44d7f 100644
--- a/plugins/AvatarHistory/options.cpp
+++ b/plugins/AvatarHistory/options.cpp
@@ -79,7 +79,7 @@ int OptInit(WPARAM wParam,LPARAM lParam)
odp.pfnDlgProc = OptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR | ODPF_EXPERTONLY;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
if(ServiceExists(MS_POPUP_ADDPOPUPT))
{
@@ -96,7 +96,7 @@ int OptInit(WPARAM wParam,LPARAM lParam)
odp.nExpertOnlyControls = MAX_REGS(popupsExpertControls);
odp.nIDBottomSimpleControl = IDC_POPUPS;
odp.nIDRightSimpleControl = IDC_POPUPS;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
}
return 0;