summaryrefslogtreecommitdiff
path: root/src/core/stdhelp
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
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')
-rw-r--r--src/core/stdhelp/commonheaders.h2
-rw-r--r--src/core/stdhelp/help.cpp12
2 files changed, 0 insertions, 14 deletions
diff --git a/src/core/stdhelp/commonheaders.h b/src/core/stdhelp/commonheaders.h
index df2d455fbd..779db1f96c 100644
--- a/src/core/stdhelp/commonheaders.h
+++ b/src/core/stdhelp/commonheaders.h
@@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_findadd.h>
#include <m_file.h>
#include <m_email.h>
-//#include <m_awaymsg.h>
#include <m_idle.h>
#include <m_ignore.h>
#include <m_icolib.h>
#include <m_modernopt.h>
-#include <m_help.h>
#include <m_timezones.h>
#include "version.h"
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");