From fe2fa8bb4dd84270bdc716e37a7d189c5aa5bb74 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 28 Apr 2025 18:56:28 +0300 Subject: fixes #4971 completely --- protocols/Telegram/src/userinfo.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'protocols/Telegram/src') diff --git a/protocols/Telegram/src/userinfo.cpp b/protocols/Telegram/src/userinfo.cpp index 174266976f..ae5e5b64d1 100644 --- a/protocols/Telegram/src/userinfo.cpp +++ b/protocols/Telegram/src/userinfo.cpp @@ -70,10 +70,7 @@ public: DateTime_SetSystemtime(_hwndDate, GDT_VALID, &st); DateTime_SetFormat(_hwndDate, NULL); } - else { - DateTime_SetSystemtime(_hwndDate, GDT_NONE, NULL); - SetWindowTextW(_hwndDate, TranslateT("Unspecified")); - } + else DateTime_SetFormat(_hwndDate, TranslateT("Unspecified")); edtNotes.SetText(m_proto->getMStringW(m_hContact, "About")); } -- cgit v1.2.3