diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-24 14:52:01 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-24 14:52:01 +0000 |
commit | 3e02ce14f6cce63910b266655a9c33bd3a70f17a (patch) | |
tree | 8fcf4371ea0d10693e7697f305d51988484faf69 /plugins/Scriver/src/chat/manager.cpp | |
parent | 107471fac771abe5774d10769e36c0903a908685 (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/Scriver/src/chat/manager.cpp')
-rw-r--r-- | plugins/Scriver/src/chat/manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/chat/manager.cpp b/plugins/Scriver/src/chat/manager.cpp index 0c1a994cf1..009b9c266b 100644 --- a/plugins/Scriver/src/chat/manager.cpp +++ b/plugins/Scriver/src/chat/manager.cpp @@ -272,7 +272,7 @@ HICON SM_GetStatusIcon(SESSION_INFO *si, USERINFO * ui) {
INT_PTR id = si->iStatusCount - (INT_PTR)ti->hIcon - 1;
char name[128];
- sprintf(name, "chat_status%d", id);
+ mir_snprintf(name, SIZEOF(name), "chat_status%d", id);
return GetCachedIcon(name);
}
else
|