From 0ab8d461ef00c1b47d56c6f270673a44246f0c0a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 May 2013 13:38:08 +0000 Subject: another bunch of unused junk git-svn-id: http://svn.miranda-ng.org/main/trunk@4672 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdhelp/help.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/core/stdhelp/help.cpp') 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"); -- cgit v1.2.3