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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/weather_userinfo.cpp b/protocols/Weather/weather_userinfo.cpp
index 055fdb9fed..c00be9e018 100644
--- a/protocols/Weather/weather_userinfo.cpp
+++ b/protocols/Weather/weather_userinfo.cpp
@@ -38,7 +38,7 @@ int UserInfoInit(WPARAM wParam, LPARAM lParam)
odp.cbSize = sizeof(odp);
odp.hInstance = hInst;
odp.position = 100000000;
- odp.pszTitle = LPGEN(WEATHERPROTONAME);
+ odp.ptszTitle = _T(WEATHERPROTONAME);
if (lParam == 0)
{
@@ -54,7 +54,7 @@ int UserInfoInit(WPARAM wParam, LPARAM lParam)
// register the contact info page
odp.pszTemplate = MAKEINTRESOURCEA(IDD_USERINFO);
odp.pfnDlgProc = DlgProcUIPage;
- odp.flags = ODPF_BOLDGROUPS;
+ odp.flags = ODPF_BOLDGROUPS|ODPF_TCHAR;
UserInfo_AddPage(wParam, &odp);
}
}