diff options
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
|