diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-09 11:04:14 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-09 11:04:14 +0000 |
commit | 8cabf8af42bfd0384742ec3a22fde4fa3992a2a4 (patch) | |
tree | 5074a3c7da4c6d47f2de7b474462b05ccdeaf578 /protocols/VKontakte/src/misc.cpp | |
parent | d6592e63f3e992675ed2bb389955c0c7969810da (diff) |
VKontakte: minot fix for out 'message read' string
git-svn-id: http://svn.miranda-ng.org/main/trunk@11802 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 617da0c5eb..833dbebceb 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -609,7 +609,9 @@ void CVkProto::SetSrmmReadStatus(MCONTACT hContact) return; TCHAR ttime[64]; - _tcsftime(ttime, SIZEOF(ttime), _T("%X"), localtime(&time)); + _locale_t locale = _create_locale(LC_ALL, ""); + _tcsftime_l(ttime, SIZEOF(ttime), _T("%X - %x"), localtime(&time), locale); + _free_locale(locale); StatusTextData st = { 0 }; st.cbSize = sizeof(st); |