diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-08-19 12:51:33 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-08-19 12:51:33 +0000 |
commit | b7923a051fc0a9e84edf5dbb0075347857ea4994 (patch) | |
tree | 23a6714a9403aa20f6e3db0263a4c57c38d50da9 /protocols/Weather/weather_userinfo.cpp | |
parent | 6d05dddfffae5920216ef044e18f46b03a7c3dc6 (diff) |
another unicode fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1501 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_userinfo.cpp')
-rw-r--r-- | protocols/Weather/weather_userinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Weather/weather_userinfo.cpp b/protocols/Weather/weather_userinfo.cpp index cac28fb34b..84c63d4d4d 100644 --- a/protocols/Weather/weather_userinfo.cpp +++ b/protocols/Weather/weather_userinfo.cpp @@ -44,6 +44,7 @@ int UserInfoInit(WPARAM wParam, LPARAM lParam) {
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO);
odp.pfnDlgProc = DlgProcINIPage;
+ odp.flags = ODPF_TCHAR;
UserInfo_AddPage(wParam, &odp);
}
else
@@ -285,7 +286,7 @@ INT_PTR CALLBACK DlgProcMoreData(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l ListView_DeleteAllItems(hList);
lvi.mask = LVIF_TEXT | LVIF_PARAM;
lvi.lParam = 1;
- lvi.pszText = (LPTSTR)_T("");
+ lvi.pszText = _T("");
lvi.iItem = ListView_InsertItem(hList, &lvi);
lvi.pszText = TranslateT("Retrieving new data, please wait...");
ListView_SetItemText(hList, lvi.iItem, 1, lvi.pszText);
|