summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/userinfo.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-10 19:27:18 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-10 19:27:18 +0300
commit369f1083cc1aff54dc81e121bf2d2763ab027574 (patch)
tree4669c63e97b4bb49d9e9b27162464bcf54798696 /protocols/Telegram/src/userinfo.cpp
parent86cae9eed59527acdbd64f5a1964d5b82be07c22 (diff)
fixes #4971 (Telegram: если моя дата рождения не указана, в юзеринфо появляется странная строка)
Diffstat (limited to 'protocols/Telegram/src/userinfo.cpp')
-rw-r--r--protocols/Telegram/src/userinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Telegram/src/userinfo.cpp b/protocols/Telegram/src/userinfo.cpp
index 4c40c3b662..174266976f 100644
--- a/protocols/Telegram/src/userinfo.cpp
+++ b/protocols/Telegram/src/userinfo.cpp
@@ -72,10 +72,10 @@ public:
}
else {
DateTime_SetSystemtime(_hwndDate, GDT_NONE, NULL);
- DateTime_SetFormat(_hwndDate, TranslateT("Unspecified"));
+ SetWindowTextW(_hwndDate, TranslateT("Unspecified"));
}
- edtNotes.SetText(m_proto->getMStringW(m_hContact, "Notes"));
+ edtNotes.SetText(m_proto->getMStringW(m_hContact, "About"));
}
};