From eddff12b3a5b0727ad84d8982f1a39df8e771b10 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 30 Apr 2021 20:07:59 +0300 Subject: =?UTF-8?q?fixes=20#2854=20(Weather:=20=D0=BD=D0=B5=D0=BA=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D1=8B=D0=B5=20=D1=81=D1=82=D1=80=D0=BE=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=BD=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=D1=8F=D1=82=D1=81=D1=8F=20=D0=BF=D1=80=D0=B8=20=D1=81?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=20=D0=BB=D0=B5=D0=BD=D0=B3=D0=BF=D0=B0?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=BD=D0=B0=20=D0=BB=D0=B5=D1=82=D1=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Weather/src/weather_userinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Weather/src/weather_userinfo.cpp') 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); -- cgit v1.2.3