diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-01-27 12:58:28 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-01-27 12:58:28 +0300 |
| commit | b30bfbd03fef42287cad703411929071bc8387b9 (patch) | |
| tree | 7ee003da65050fbfba4ec4209fe54b7a36f69b0c | |
| parent | b31b81ba43e6866003268bcd57cbebff57df5ac7 (diff) | |
fixes #4848 (Weather: в юзеринфо выводится внутреннее имя учётной записи)
| -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); |
