summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
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"));
}