summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_userinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/weather_userinfo.cpp')
-rw-r--r--protocols/Weather/weather_userinfo.cpp3
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);