From c22018804a628a2577a853cdb203c8b45890a4ca Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Apr 2024 20:22:11 +0300 Subject: =?UTF-8?q?fixes=20#4334=20(NewStory:=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D0=B5=20=D0=B2=20=D0=B8=D1=81?= =?UTF-8?q?=D1=85=D0=BE=D0=B4=D0=BD=D0=BE=D0=B5=20=D1=81=D0=BE=D0=BE=D0=B1?= =?UTF-8?q?=D1=89=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BE=D0=B4=D1=81=D1=82?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D1=8F=D0=B5=D1=82=D1=81=D1=8F=20=D0=B2=D1=80?= =?UTF-8?q?=D0=B5=D0=BC=D1=8F=20=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_array.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/NewStory/src/history_array.cpp') diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 5c4fd60c10..09cb998927 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -443,10 +443,10 @@ void ItemData::load(bool bLoadAlways) CMStringW str, wszNick; wchar_t wszTime[100]; - TimeZone_PrintTimeStamp(0, dbe.timestamp, L"D t", wszTime, _countof(wszTime), 0); + TimeZone_PrintTimeStamp(0, dbei.timestamp, L"D t", wszTime, _countof(wszTime), 0); - if (Contact::IsGroupChat(hContact) && dbe.szUserId) - wszNick = Utf2T(dbe.szUserId); + if (Contact::IsGroupChat(hContact) && dbei.szUserId) + wszNick = Utf2T(dbei.szUserId); else if (dbei.flags & DBEF_SENT) { if (char *szProto = Proto_GetBaseAccountName(hContact)) wszNick = ptrW(Contact::GetInfo(CNF_DISPLAY, 0, szProto)); -- cgit v1.2.3