summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/PlainHtmlExport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/PlainHtmlExport.cpp')
-rw-r--r--plugins/BasicHistory/src/PlainHtmlExport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BasicHistory/src/PlainHtmlExport.cpp b/plugins/BasicHistory/src/PlainHtmlExport.cpp
index 050b4e457e..ca0e110822 100644
--- a/plugins/BasicHistory/src/PlainHtmlExport.cpp
+++ b/plugins/BasicHistory/src/PlainHtmlExport.cpp
@@ -83,7 +83,7 @@ void PlainHtmlExport::WriteGroup(bool isMe, const std::wstring &time, const std:
{
TCHAR buf[256];
EXP_FILE << _T("<div class=mes id=session>\n");
- _stprintf_s(buf, TranslateT("Conversation started at %s"), time.c_str());
+ mir_sntprintf(buf, SIZEOF(buf), TranslateT("Conversation started at %s"), time.c_str());
EXP_FILE << _T("<div class=text>") << buf << _T("</div>\n");
EXP_FILE << _T("</div>\n");
}