summaryrefslogtreecommitdiff
path: root/plugins/WebView/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WebView/src/webview.cpp')
-rw-r--r--plugins/WebView/src/webview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/WebView/src/webview.cpp b/plugins/WebView/src/webview.cpp
index 2be23ed09a..f70712bc45 100644
--- a/plugins/WebView/src/webview.cpp
+++ b/plugins/WebView/src/webview.cpp
@@ -288,7 +288,7 @@ void CALLBACK Countdownfunc(HWND, UINT, UINT_PTR, DWORD)
/*****************************************************************************/
-static int OptInitialise(WPARAM wParam, LPARAM)
+int OptInitialise(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = {};
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT);
@@ -330,8 +330,6 @@ void FontSettings(void)
/*****************************************************************************/
int ModulesLoaded(WPARAM, LPARAM)
{
- HookEvent(ME_OPT_INITIALISE, OptInitialise);
-
hHookDisplayDataAlert = CreateHookableEvent(ME_DISPLAYDATA_ALERT);
HookEvent(ME_DISPLAYDATA_ALERT, DataWndAlertCommand);