From 41ee395da7530c17656bd06f84638ab8d9d3776d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 23:36:07 +0300 Subject: options API unbound from hLangpack and switched to CMPlugin --- plugins/WebView/src/webview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/WebView/src') diff --git a/plugins/WebView/src/webview.cpp b/plugins/WebView/src/webview.cpp index ee0660d813..f384f48132 100644 --- a/plugins/WebView/src/webview.cpp +++ b/plugins/WebView/src/webview.cpp @@ -297,14 +297,14 @@ static int OptInitialise(WPARAM wParam, LPARAM) odp.szTitle.a = MODULENAME; odp.pfnDlgProc = DlgProcOpt; odp.flags = ODPF_BOLDGROUPS; - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); // if popup service exists if ((ServiceExists(MS_POPUP_ADDPOPUPT))) { odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUP); odp.szGroup.w = LPGENW("Popups"); odp.pfnDlgProc = DlgPopUpOpts; - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); } return 0; } -- cgit v1.2.3