summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clcitems.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-24 14:52:01 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-24 14:52:01 +0000
commit3e02ce14f6cce63910b266655a9c33bd3a70f17a (patch)
tree8fcf4371ea0d10693e7697f305d51988484faf69 /plugins/Clist_mw/src/clcitems.cpp
parent107471fac771abe5774d10769e36c0903a908685 (diff)
replace sprintf to mir_snprintf (part 4)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5467 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/clcitems.cpp')
-rw-r--r--plugins/Clist_mw/src/clcitems.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_mw/src/clcitems.cpp b/plugins/Clist_mw/src/clcitems.cpp
index 35e76d189d..12b8e2304f 100644
--- a/plugins/Clist_mw/src/clcitems.cpp
+++ b/plugins/Clist_mw/src/clcitems.cpp
@@ -413,7 +413,7 @@ void RebuildEntireList(HWND hwnd,struct ClcData *dat)
{
char buf[255];
//sprintf(buf,"%s %s took %i ms",__FILE__,__LINE__,tick);
- sprintf(buf,"RebuildEntireList %d \r\n",tick);
+ mir_snprintf(buf, SIZEOF(buf), "RebuildEntireList %d \r\n", tick);
OutputDebugStringA(buf);
db_set_dw((HANDLE)0,"CLUI","PF:Last RebuildEntireList Time:",tick);
@@ -503,7 +503,7 @@ void SortCLC(HWND hwnd,struct ClcData *dat,int useInsertionSort)
//sprintf(buf,"%s %s took %i ms",__FILE__,__LINE__,tick);
tick = GetTickCount()-tick;
if (tick > 5) {
- sprintf(buf,"SortCLC %d \r\n",tick);
+ mir_snprintf(buf, SIZEOF(buf), "SortCLC %d \r\n", tick);
OutputDebugStringA(buf);
db_set_dw((HANDLE)0,"CLUI","PF:Last SortCLC Time:",tick);
}
@@ -674,7 +674,7 @@ void SaveStateAndRebuildList(HWND hwnd,struct ClcData *dat)
{
char buf[255];
//sprintf(buf,"%s %s took %i ms",__FILE__,__LINE__,tick);
- sprintf(buf,"SaveStateAndRebuildList %d \r\n",tick);
+ mir_snprintf(buf, SIZEOF(buf), "SaveStateAndRebuildList %d \r\n", tick);
OutputDebugStringA(buf);
}