summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/ExportManager.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-26 08:46:45 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-26 08:46:45 +0000
commit12718514fb673dbb72f7d93ea3bb34c9574bd69a (patch)
tree91569255bd22163c21eb9f22ceb388db16f53e19 /plugins/BasicHistory/src/ExportManager.cpp
parent3856c86d711275b80e09371cad10b8b828a5879a (diff)
replace sprintf to mir_snprintf (part 7)
removed not used files git-svn-id: http://svn.miranda-ng.org/main/trunk@5490 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/src/ExportManager.cpp')
-rw-r--r--plugins/BasicHistory/src/ExportManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BasicHistory/src/ExportManager.cpp b/plugins/BasicHistory/src/ExportManager.cpp
index 83c4a2ba7e..c5c01b4ac2 100644
--- a/plugins/BasicHistory/src/ExportManager.cpp
+++ b/plugins/BasicHistory/src/ExportManager.cpp
@@ -40,9 +40,9 @@ std::wstring GetFile(const TCHAR* ext, HWND hwnd, bool open)
TCHAR extUpper[32];
_tcscpy_s(extUpper, ext);
extUpper[0] = std::toupper(ext[0], loc);
- _stprintf_s(filter, TranslateT("%s Files (*.%s)"), extUpper, ext);
+ mir_sntprintf(filter, SIZEOF(filter), TranslateT("%s Files (*.%s)"), extUpper, ext);
size_t len = _tcslen(filter) + 1;
- _stprintf_s(filter + len, 512 - len, TranslateT("*.%s"), ext);
+ mir_sntprintf(filter + len, 512 - len, TranslateT("*.%s"), ext);
len += _tcslen(filter + len);
filter[++len] = 0;
TCHAR stzFilePath[1024];