diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-07-24 11:48:01 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-07-24 11:48:01 +0000 |
commit | 9ea1fabf1643f117b46ee44d359084fe77bfd4f2 (patch) | |
tree | 44d05a7c93c2416f04db0009e9afc050408955d1 /protocols/SkypeWeb/src/skype_events.cpp | |
parent | a37130550153d51332ddd1996b8d796265c1dc35 (diff) |
SkypeWeb: More fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_events.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_events.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index f2839d2a1f..2be1b79804 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -40,9 +40,8 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) const JSONNode &jEdit = *it;
time_t time = jEdit["time"].as_int();
- tm* _tm = localtime(&time);
char szTime[MAX_PATH];
- strftime(szTime, sizeof(szTime), "%X %x", _tm);
+ strftime(szTime, sizeof(szTime), "%X %x", localtime(&time));
text.AppendFormat(Translate("Edited at %s:\n\t%s\n"), szTime, jEdit["text"].as_string());
}
|