diff options
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r-- | protocols/Weather/src/weather_userinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/src/weather_userinfo.cpp b/protocols/Weather/src/weather_userinfo.cpp index 8959f8c7b3..e49d0e94aa 100644 --- a/protocols/Weather/src/weather_userinfo.cpp +++ b/protocols/Weather/src/weather_userinfo.cpp @@ -316,9 +316,9 @@ int CWeatherProto::UserInfoInit(WPARAM wParam, LPARAM hContact) // check if it is a weather contact if (IsMyContact(hContact)) { USERINFOPAGE uip = {}; - uip.szTitle.a = m_szModuleName; + uip.szTitle.w = m_tszUserName; uip.position = 100000000; - uip.flags = ODPF_ICON | ODPF_BOLDGROUPS; + uip.flags = ODPF_ICON | ODPF_BOLDGROUPS | ODPF_UNICODE; uip.dwInitParam = LPARAM(g_plugin.getIconHandle(IDI_ICON)); uip.pDialog = new WeatherUserInfoDlg(); g_plugin.addUserInfo(wParam, &uip); |