From 9ea1fabf1643f117b46ee44d359084fe77bfd4f2 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 24 Jul 2015 11:48:01 +0000 Subject: SkypeWeb: More fixes. git-svn-id: http://svn.miranda-ng.org/main/trunk@14675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_events.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_events.cpp') 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()); } -- cgit v1.2.3