diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-21 21:11:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-21 21:11:28 +0000 |
commit | 6b327577051e49ef853117e9c04442c408fdf934 (patch) | |
tree | a344e021ffa4a9f2c01c4d10aa1c6924b5d9112a /src/modules/help/help.cpp | |
parent | 341d37fdcb9ed6469974ec5d0083c7c376618656 (diff) |
MS_UTILS_OPENURL Unicode
git-svn-id: http://svn.miranda-ng.org/main/trunk@520 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
|