diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-30 20:07:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-30 20:07:59 +0300 |
commit | eddff12b3a5b0727ad84d8982f1a39df8e771b10 (patch) | |
tree | d9cdbdcd67e3d54ac767d76594766a9368b455dc /protocols/Weather/src/weather_userinfo.cpp | |
parent | 54ad36ab7242633de16f98f8df07a3572cb15215 (diff) |
fixes #2854 (Weather: некоторые строки не переводятся при смене ленгпака на лету)
Diffstat (limited to 'protocols/Weather/src/weather_userinfo.cpp')
-rw-r--r-- | protocols/Weather/src/weather_userinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Weather/src/weather_userinfo.cpp b/protocols/Weather/src/weather_userinfo.cpp index 3ce9460c1b..c30647a4e4 100644 --- a/protocols/Weather/src/weather_userinfo.cpp +++ b/protocols/Weather/src/weather_userinfo.cpp @@ -64,7 +64,7 @@ static void LoadBriefInfoText(HWND hwndDlg, MCONTACT hContact) wcsncpy(str, WEATHER_NO_INFO, _countof(str) - 1); else // set the display text and show the message box - GetDisplay(&winfo, opt.bText, str); + GetDisplay(&winfo, GetTextValue('B'), str); SetDlgItemText(hwndDlg, IDC_MTEXT, str); GetDisplay(&winfo, L"%c, %t", str); |