diff options
Diffstat (limited to 'protocols/Yahoo')
-rw-r--r-- | protocols/Yahoo/src/options.cpp | 2 | ||||
-rw-r--r-- | protocols/Yahoo/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Yahoo/src/services.cpp | 2 | ||||
-rw-r--r-- | protocols/Yahoo/src/util.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Yahoo/src/options.cpp b/protocols/Yahoo/src/options.cpp index 3dc9c9fbd6..8ca0eef48a 100644 --- a/protocols/Yahoo/src/options.cpp +++ b/protocols/Yahoo/src/options.cpp @@ -65,7 +65,7 @@ static INT_PTR CALLBACK DlgProcYahooOpts(HWND hwndDlg, UINT msg, WPARAM wParam, switch ( LOWORD( wParam )) { case IDC_NEWYAHOOACCOUNTLINK: - CallService(MS_UTILS_OPENURL, 1, + CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, ppro->getByte("YahooJapan", 0) ? (LPARAM)"http://edit.yahoo.co.jp/config/eval_register" : (LPARAM)"http://edit.yahoo.com/config/eval_register"); diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp index cb5194a555..4b75b0355c 100644 --- a/protocols/Yahoo/src/proto.cpp +++ b/protocols/Yahoo/src/proto.cpp @@ -744,7 +744,7 @@ INT_PTR CALLBACK first_run_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM case WM_COMMAND:
if (LOWORD(wParam) == IDC_NEWYAHOOACCOUNTLINK) {
CallService(MS_UTILS_OPENURL,
- 1,
+ OUF_NEWWINDOW,
((BYTE)IsDlgButtonChecked(hwndDlg, IDC_YAHOO_JAPAN) == 1) ?
(LPARAM) "http://edit.yahoo.co.jp/config/eval_register" :
(LPARAM) "http://edit.yahoo.com/config/eval_register"
diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp index efc52a9484..f6d46d54eb 100644 --- a/protocols/Yahoo/src/services.cpp +++ b/protocols/Yahoo/src/services.cpp @@ -238,7 +238,7 @@ void CYahooProto::OpenURL(const char *url, int autoLogin) debugLogA("[YahooOpenURL] url: %s Final URL: %s", url, tUrl);
- CallService(MS_UTILS_OPENURL, TRUE, (LPARAM)tUrl);
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)tUrl);
}
//=======================================================
diff --git a/protocols/Yahoo/src/util.cpp b/protocols/Yahoo/src/util.cpp index 68b10aac50..7a3da1782f 100644 --- a/protocols/Yahoo/src/util.cpp +++ b/protocols/Yahoo/src/util.cpp @@ -78,7 +78,7 @@ static LRESULT CALLBACK PopupWindowProc( HWND hWnd, UINT message, WPARAM wParam, if ( HIWORD(wParam) == STN_CLICKED) {
char *szURL = (char*)PUGetPluginData(hWnd);
if (szURL != NULL)
- CallService(MS_UTILS_OPENURL, TRUE, (LPARAM)szURL);
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)szURL);
PUDeletePopup(hWnd);
return 0;
|