summaryrefslogtreecommitdiff
path: root/src/core/stdhelp/help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdhelp/help.cpp')
-rw-r--r--src/core/stdhelp/help.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/stdhelp/help.cpp b/src/core/stdhelp/help.cpp
index 4440aece1f..654b9fc255 100644
--- a/src/core/stdhelp/help.cpp
+++ b/src/core/stdhelp/help.cpp
@@ -51,15 +51,6 @@ static INT_PTR WebsiteCommand(WPARAM, LPARAM)
return 0;
}
-static int BugCommandEvent(WPARAM wParam, LPARAM lParam)
-{
- char *szUrl = (char*)lParam;
- if (szUrl)
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)szUrl);
-
- return 0;
-}
-
static INT_PTR BugCommand(WPARAM, LPARAM)
{
NotifyEventHooks(hBugEvent, 0, (LPARAM)"http://bugs.miranda-ng.org");
@@ -82,9 +73,6 @@ int LoadHelpModule(void)
CreateServiceFunction("Help/WebsiteCommand", WebsiteCommand);
CreateServiceFunction("Help/BugCommand", BugCommand);
- hBugEvent = CreateHookableEvent(ME_HELP_BUGREPORT);
- SetHookDefaultForHookableEvent(hBugEvent, BugCommandEvent);
-
CLISTMENUITEM mi = { sizeof(mi) };
mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_MIRANDA);
mi.pszPopupName = LPGEN("&Help");