diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-06-02 10:08:13 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-06-02 10:08:13 +0000 |
commit | 269ae59bc217da11f6218979a8aa7aab016df606 (patch) | |
tree | b60e8ab68bafc0c46161f29e52096e800600194c /src/core/stdhelp | |
parent | 0f9b31140f22dbe4b479b63bcd4d213046105363 (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/stdhelp')
-rw-r--r-- | src/core/stdhelp/help.cpp | 7 |
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;
}
|