From 7f7252104c054002c8b30636ac0b327e915e7b6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Nov 2016 22:30:41 +0300 Subject: Utils_OpenUrlT Utils_ReplaceVarsT --- plugins/Weather/src/weather_contacts.cpp | 2 +- plugins/Weather/src/weather_userinfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Weather') diff --git a/plugins/Weather/src/weather_contacts.cpp b/plugins/Weather/src/weather_contacts.cpp index 9903cbf010..582ba51831 100644 --- a/plugins/Weather/src/weather_contacts.cpp +++ b/plugins/Weather/src/weather_contacts.cpp @@ -30,7 +30,7 @@ static void OpenUrl(wchar_t* format, wchar_t* id) wchar_t loc[512]; GetID(id); mir_snwprintf(loc, format, id); - Utils_OpenUrlT(loc); + Utils_OpenUrlW(loc); } //============ BASIC CONTACTS FUNCTIONS AND LINKS ============ diff --git a/plugins/Weather/src/weather_userinfo.cpp b/plugins/Weather/src/weather_userinfo.cpp index 9462ead897..a11962c332 100644 --- a/plugins/Weather/src/weather_userinfo.cpp +++ b/plugins/Weather/src/weather_userinfo.cpp @@ -212,7 +212,7 @@ static INT_PTR CALLBACK DlgProcMoreData(HWND hwndDlg, UINT msg, WPARAM wParam, L tr.chrg = enlink->chrg; tr.lpstrText = (LPTSTR)mir_alloc(sizeof(wchar_t)*(tr.chrg.cpMax - tr.chrg.cpMin + 8)); SendMessage(pNmhdr->hwndFrom, EM_GETTEXTRANGE, 0, (LPARAM)&tr); - Utils_OpenUrlT(tr.lpstrText); + Utils_OpenUrlW(tr.lpstrText); mir_free(tr.lpstrText); break; } -- cgit v1.2.3