summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-06-02 10:08:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-06-02 10:08:13 +0000
commit269ae59bc217da11f6218979a8aa7aab016df606 (patch)
treeb60e8ab68bafc0c46161f29e52096e800600194c /src/core
parent0f9b31140f22dbe4b479b63bcd4d213046105363 (diff)
patch from wishmaster for #356
git-svn-id: http://svn.miranda-ng.org/main/trunk@4858 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdhelp/help.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/stdhelp/help.cpp b/src/core/stdhelp/help.cpp
index 654b9fc255..e58a4720bf 100644
--- a/src/core/stdhelp/help.cpp
+++ b/src/core/stdhelp/help.cpp
@@ -26,7 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
INT_PTR CALLBACK DlgProcAbout(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
HWND hAboutDlg = NULL;
-static HANDLE hBugEvent = NULL;
static INT_PTR AboutCommand(WPARAM wParam, LPARAM)
{
@@ -41,19 +40,19 @@ static INT_PTR AboutCommand(WPARAM wParam, LPARAM)
static INT_PTR IndexCommand(WPARAM, LPARAM)
{
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)Translate("http://wiki.miranda-im.org/"));
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW | OUF_TCHAR, (LPARAM)_T("http://wiki.miranda-ng.org"));
return 0;
}
static INT_PTR WebsiteCommand(WPARAM, LPARAM)
{
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)"http://miranda-ng.org/");
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW | OUF_TCHAR, (LPARAM)_T("http://miranda-ng.org"));
return 0;
}
static INT_PTR BugCommand(WPARAM, LPARAM)
{
- NotifyEventHooks(hBugEvent, 0, (LPARAM)"http://bugs.miranda-ng.org");
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW | OUF_TCHAR, (LPARAM)_T("http://trac.miranda-ng.org"));
return 0;
}