From a85d3756ce4eb0257025b005deb795ba05fd4fda Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sat, 13 Dec 2014 08:40:22 +0000 Subject: arg fixes for MS_UTILS_OPENURL service git-svn-id: http://svn.miranda-ng.org/main/trunk@11362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/Xfire_game.cpp | 2 +- protocols/Xfire/src/main.cpp | 8 ++++---- protocols/Xfire/src/options.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols/Xfire/src') diff --git a/protocols/Xfire/src/Xfire_game.cpp b/protocols/Xfire/src/Xfire_game.cpp index 776a6493b7..0a0657e72d 100644 --- a/protocols/Xfire/src/Xfire_game.cpp +++ b/protocols/Xfire/src/Xfire_game.cpp @@ -32,7 +32,7 @@ BOOL Xfire_game::start_game(char*ip, unsigned int port, char*pw) { this->launchparams[3] == 'p'&& this->launchparams[4] == ':') { - return CallService(MS_UTILS_OPENURL, 1, (LPARAM)this->launchparams); + return CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)this->launchparams); } } diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index 99be8112ac..1f85205c15 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -1990,7 +1990,7 @@ static INT_PTR GotoProfile(WPARAM hContact, LPARAM lParam) strcat_s(temp, 64, dbv.pszVal); db_free(&dbv); - CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp); + CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)temp); return 0; } @@ -2010,7 +2010,7 @@ static INT_PTR GotoXFireClanSite(WPARAM hContact, LPARAM lParam) strcat_s(temp, 64, dbv.pszVal); db_free(&dbv); - CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp); + CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)temp); return 0; } @@ -2026,7 +2026,7 @@ static INT_PTR GotoProfile2(WPARAM wParam, LPARAM lParam) strcat_s(temp, 64, dbv.pszVal); db_free(&dbv); - CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp); + CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)temp); return 0; } @@ -2042,7 +2042,7 @@ static INT_PTR GotoProfileAct(WPARAM wParam, LPARAM lParam) strcat_s(temp, 64, dbv.pszVal); db_free(&dbv); - CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp); + CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)temp); return 0; } diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp index 858683a167..c790906dfd 100644 --- a/protocols/Xfire/src/options.cpp +++ b/protocols/Xfire/src/options.cpp @@ -239,11 +239,11 @@ static INT_PTR CALLBACK DlgProcOpts2(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR EnableDlgItem(hwndDlg, IDC_KONFIG_3, TRUE); } if (LOWORD(wParam) == IDC_URLNEWACC) { - CallService(MS_UTILS_OPENURL, 1, (LPARAM)"http://www.xfire.com/register/"); + CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)"http://www.xfire.com/register/"); return TRUE; } if (LOWORD(wParam) == IDC_LOSTPW) { - CallService(MS_UTILS_OPENURL, 1, (LPARAM)"https://secure.xfire.com/lost_password/"); + CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)"https://secure.xfire.com/lost_password/"); return TRUE; } -- cgit v1.2.3