From 7b82c051eabf54caf834a42083557280e00c671b Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 23 Jul 2015 19:16:49 +0000 Subject: SkypeWeb: small fix. git-svn-id: http://svn.miranda-ng.org/main/trunk@14658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index 9071025d50..f2839d2a1f 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -42,7 +42,7 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) time_t time = jEdit["time"].as_int(); tm* _tm = localtime(&time); char szTime[MAX_PATH]; - strftime(szTime, 0, "%X %x", _tm); + strftime(szTime, sizeof(szTime), "%X %x", _tm); text.AppendFormat(Translate("Edited at %s:\n\t%s\n"), szTime, jEdit["text"].as_string()); } -- cgit v1.2.3