diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-17 22:30:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-17 22:30:41 +0300 |
commit | 7f7252104c054002c8b30636ac0b327e915e7b6d (patch) | |
tree | 99dc464c7b21f5917e5ccaa9acff82b12e2b6c4e /plugins/Weather | |
parent | f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (diff) |
Utils_OpenUrlT
Utils_ReplaceVarsT
Diffstat (limited to 'plugins/Weather')
-rw-r--r-- | plugins/Weather/src/weather_contacts.cpp | 2 | ||||
-rw-r--r-- | plugins/Weather/src/weather_userinfo.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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;
}
|