summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-07-23 19:16:49 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-07-23 19:16:49 +0000
commit7b82c051eabf54caf834a42083557280e00c671b (patch)
treee450c19888acfb93eb759bcab0a799e9beac5dbe /protocols/SkypeWeb
parent220a737d71fa88f3acc19bdd9da6fff828aa0fdb (diff)
SkypeWeb: small fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r--protocols/SkypeWeb/src/skype_events.cpp2
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());
}