diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 08:40:22 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 08:40:22 +0000 |
commit | a85d3756ce4eb0257025b005deb795ba05fd4fda (patch) | |
tree | 20a417a340172bf9a7ad0ec34322246b91864801 /src/core/stduserinfo | |
parent | 303e6b483aff4126701ca375dd085e9ae1d18b43 (diff) |
arg fixes for MS_UTILS_OPENURL service
git-svn-id: http://svn.miranda-ng.org/main/trunk@11362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stduserinfo')
-rw-r--r-- | src/core/stduserinfo/stdinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stduserinfo/stdinfo.cpp b/src/core/stduserinfo/stdinfo.cpp index 3c407ee726..44b81671a5 100644 --- a/src/core/stduserinfo/stdinfo.cpp +++ b/src/core/stduserinfo/stdinfo.cpp @@ -345,7 +345,7 @@ static INT_PTR CALLBACK WorkDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA if (IsWindowEnabled(GetDlgItem(hwndDlg, IDC_WEBPAGE))) {
char szPage[256];
GetDlgItemTextA(hwndDlg, IDC_WEBPAGE, szPage, SIZEOF(szPage));
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)szPage);
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)szPage);
}
}
break;
@@ -483,7 +483,7 @@ static INT_PTR CALLBACK BackgroundDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, if (IsWindowEnabled(GetDlgItem(hwndDlg, IDC_WEBPAGE))) {
char szPage[256];
GetDlgItemTextA(hwndDlg, IDC_WEBPAGE, szPage, SIZEOF(szPage));
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)szPage);
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)szPage);
}
break;
}
|