diff options
Diffstat (limited to 'src/modules/help/help.cpp')
-rw-r--r-- | src/modules/help/help.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/modules/help/help.cpp b/src/modules/help/help.cpp index d6035957b7..33b37e86b0 100644 --- a/src/modules/help/help.cpp +++ b/src/modules/help/help.cpp @@ -50,22 +50,21 @@ static INT_PTR WebsiteCommand(WPARAM, LPARAM) return 0;
}
-static int BugCommandEvent(WPARAM wParam, LPARAM lParam) {
- char *szUrl = (char*)lParam;
+static int BugCommandEvent(WPARAM wParam, LPARAM lParam)
+{
+ char *szUrl = (char*)lParam;
+ if (szUrl)
+ CallService(MS_UTILS_OPENURL, 1, (LPARAM)szUrl);
- if (szUrl) {
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)szUrl);
- }
- return 0;
+ return 0;
}
static INT_PTR BugCommand(WPARAM, LPARAM)
{
- NotifyEventHooks(hBugEvent, 0, (LPARAM)"http://code.google.com/p/miranda/issues/list");
+ NotifyEventHooks(hBugEvent, 0, (LPARAM)"http://code.google.com/p/miranda/issues/list");
return 0;
}
-
int ShutdownHelpModule(WPARAM, LPARAM)
{
if (IsWindow(hAboutDlg)) DestroyWindow(hAboutDlg);
|