diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-18 13:21:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-18 13:21:23 +0300 |
commit | e94f080dd0e19266003da01583222784c9169fc2 (patch) | |
tree | fd150c01741ebddf719bdef95fd3a622837f902c /plugins/Weather/src/weather_userinfo.cpp | |
parent | adf1f2e587159bb99d820faa983ef3e357d41f40 (diff) |
Weather:
- persistent connection removed due to memory corruption problems;
- warning fixed;
- version bump
Diffstat (limited to 'plugins/Weather/src/weather_userinfo.cpp')
-rw-r--r-- | plugins/Weather/src/weather_userinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather_userinfo.cpp b/plugins/Weather/src/weather_userinfo.cpp index b535e6cfa8..90d3b8d4ae 100644 --- a/plugins/Weather/src/weather_userinfo.cpp +++ b/plugins/Weather/src/weather_userinfo.cpp @@ -210,7 +210,7 @@ static INT_PTR CALLBACK DlgProcMoreData(HWND hwndDlg, UINT msg, WPARAM wParam, L case WM_LBUTTONUP:
TEXTRANGE tr;
tr.chrg = enlink->chrg;
- tr.lpstrText = (LPTSTR)mir_alloc(sizeof(wchar_t)*(tr.chrg.cpMax - tr.chrg.cpMin + 8));
+ tr.lpstrText = (wchar_t*)mir_alloc(sizeof(wchar_t)*(tr.chrg.cpMax - tr.chrg.cpMin + 8));
SendMessage(pNmhdr->hwndFrom, EM_GETTEXTRANGE, 0, (LPARAM)&tr);
Utils_OpenUrlW(tr.lpstrText);
mir_free(tr.lpstrText);
|