summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/infopanel.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-07-23 18:40:18 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-07-23 18:40:18 +0000
commit5c794a21c8e0c943e69b08a9ba52064149d663a6 (patch)
tree84eeabfea043d185fe349e29a551e0678913ef5a /plugins/TabSRMM/src/infopanel.cpp
parentbae46e23df15573407254315781431ce213e7d8b (diff)
unicode URLs
git-svn-id: http://svn.miranda-ng.org/main/trunk@1134 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/infopanel.cpp')
-rw-r--r--plugins/TabSRMM/src/infopanel.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp
index 0dde6d3eda..5480eeea9d 100644
--- a/plugins/TabSRMM/src/infopanel.cpp
+++ b/plugins/TabSRMM/src/infopanel.cpp
@@ -1650,10 +1650,7 @@ INT_PTR CALLBACK CTip::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam
const TCHAR* tszUrl = Utils::extractURLFromRichEdit(e, m_hRich);
if (tszUrl) {
- char* szUrl = mir_t2a(tszUrl);
-
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)szUrl);
- mir_free(szUrl);
+ CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW|OUF_TCHAR, (LPARAM)tszUrl);
mir_free(const_cast<TCHAR *>(tszUrl));
}
::DestroyWindow(hwnd);