summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoShutdown/options.cpp')
-rw-r--r--plugins/AutoShutdown/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/options.cpp b/plugins/AutoShutdown/options.cpp
index 2026038859..1e23b9005a 100644
--- a/plugins/AutoShutdown/options.cpp
+++ b/plugins/AutoShutdown/options.cpp
@@ -117,7 +117,7 @@ static int ShutdownOptInit(WPARAM wParam,LPARAM lParam)
odp.ptszTab=_T("Automatic Shutdown"); /* autotranslated, can be made a tab */
odp.flags=ODPF_BOLDGROUPS|ODPF_EXPERTONLY|ODPF_TCHAR;
odp.pfnDlgProc=ShutdownOptDlgProc;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
return 0;
}