diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/skype_events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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());
}
|