summaryrefslogtreecommitdiff
path: root/plugins/Bonsai/hooked_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Bonsai/hooked_events.cpp')
-rw-r--r--plugins/Bonsai/hooked_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Bonsai/hooked_events.cpp b/plugins/Bonsai/hooked_events.cpp
index ba1ee85d91..2c32516c83 100644
--- a/plugins/Bonsai/hooked_events.cpp
+++ b/plugins/Bonsai/hooked_events.cpp
@@ -86,7 +86,7 @@ int OnOptionsInitialise(WPARAM wParam, LPARAM lParam)
odp.groupPosition = 810000000;
odp.flags=ODPF_BOLDGROUPS;
odp.pfnDlgProc = DlgProcOptions;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
return 0;
} \ No newline at end of file