summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/srmm.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-22 13:38:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-22 13:38:03 +0000
commit01de930753fd7a5d47c0350a4361949d770b93cf (patch)
tree1ea25c299e48d76c776e8b39eba4915e10e2a555 /plugins/TabSRMM/src/srmm.cpp
parentff287facb697ba6c2b40976e8ab46855ea27eb92 (diff)
replace sprintf to mir_snprintf (part 1)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/srmm.cpp')
-rw-r--r--plugins/TabSRMM/src/srmm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp
index d52c9543ca..b1b87cce68 100644
--- a/plugins/TabSRMM/src/srmm.cpp
+++ b/plugins/TabSRMM/src/srmm.cpp
@@ -125,7 +125,7 @@ int _DebugTraceW(const wchar_t *fmt, ...)
mir_snprintf(tszTime, 50, "%02d.%02d.%04d - %02d:%02d:%02d.%04d: ", st.wDay, st.wMonth, st.wYear, st.wHour, st.wMinute, st.wSecond, st.wMilliseconds);
- _vsnwprintf(debug, ibsize - 10, fmt, va);
+ mir_vsntprintf(debug, ibsize - 10, fmt, va);
//#ifdef _DEBUG
OutputDebugStringW(debug);
//#else
@@ -158,7 +158,7 @@ int _DebugTraceA(const char *fmt, ...)
va_start(va, fmt);
lstrcpyA(debug, "TABSRMM: ");
- _vsnprintf(&debug[9], ibsize - 10, fmt, va);
+ mir_vsnprintf(&debug[9], ibsize - 10, fmt, va);
#ifdef _DEBUG
OutputDebugStringA(debug);
#else
@@ -195,7 +195,7 @@ int _DebugPopup(HANDLE hContact, const TCHAR *fmt, ...)
int ibsize = 1023;
va_start(va, fmt);
- _vsntprintf(debug, ibsize, fmt, va);
+ mir_vsntprintf(debug, ibsize, fmt, va);
if (ServiceExists(MS_CLIST_SYSTRAY_NOTIFY)) {
MIRANDASYSTRAYNOTIFY tn;