summaryrefslogtreecommitdiff
path: root/src/core/stdhelp/help.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-16 13:38:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-16 13:38:08 +0000
commit0ab8d461ef00c1b47d56c6f270673a44246f0c0a (patch)
tree367db7b30766f73e3b0f85d4135d2d0a40158dfa /src/core/stdhelp/help.cpp
parent74e3b84efe034bb5965539627a7401d3ca6ebd9b (diff)
another bunch of unused junk
git-svn-id: http://svn.miranda-ng.org/main/trunk@4672 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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");