summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-28 18:56:28 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-28 18:56:28 +0300
commitfe2fa8bb4dd84270bdc716e37a7d189c5aa5bb74 (patch)
treed15a706f9a403d2dd3169ef7e7e1142a88286416 /protocols/Telegram/src
parent7369bddd375fb8d4ba4cb1e682f24a62986b7337 (diff)
fixes #4971 completely
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r--protocols/Telegram/src/userinfo.cpp5
1 files changed, 1 insertions, 4 deletions
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"));
}