summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_edit.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 08:40:22 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 08:40:22 +0000
commita85d3756ce4eb0257025b005deb795ba05fd4fda (patch)
tree20a417a340172bf9a7ad0ec34322246b91864801 /plugins/UserInfoEx/src/ctrl_edit.cpp
parent303e6b483aff4126701ca375dd085e9ae1d18b43 (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 'plugins/UserInfoEx/src/ctrl_edit.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_edit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_edit.cpp b/plugins/UserInfoEx/src/ctrl_edit.cpp
index 2a7d65fede..837517c7ab 100644
--- a/plugins/UserInfoEx/src/ctrl_edit.cpp
+++ b/plugins/UserInfoEx/src/ctrl_edit.cpp
@@ -303,7 +303,7 @@ void CEditCtrl::OpenUrl()
}
if (szUrl && (GetWindowTextA(_hwnd, szUrl, lenUrl) > 0))
{
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)szUrl);
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)szUrl);
}
if (need_free)
{
@@ -356,7 +356,7 @@ LRESULT CEditCtrl::LinkNotificationHandler(ENLINK* lnk)
LPSTR pszUrl = mir_t2a(tr.lpstrText);
if (pszUrl)
{
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)pszUrl);
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)pszUrl);
mir_free(pszUrl);
}
}