diff options
Diffstat (limited to 'plugins/WhoUsesMyFiles/src')
-rw-r--r-- | plugins/WhoUsesMyFiles/src/list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WhoUsesMyFiles/src/list.cpp b/plugins/WhoUsesMyFiles/src/list.cpp index fbf898f566..641f8f5e19 100644 --- a/plugins/WhoUsesMyFiles/src/list.cpp +++ b/plugins/WhoUsesMyFiles/src/list.cpp @@ -24,7 +24,7 @@ PWumf new_wumf( DWORD dwID, case PERM_FILE_CREATE: _tcscpy(w->szPerm, _T("Create"));break;
default: _tcscpy(w->szPerm, _T("Execute"));
}
- wsprintf(w->szID, _T("%i"), dwID);
+ mir_sntprintf(w->szID, SIZEOF(w->szID), _T("%i"), dwID);
w->dwID = dwID;
w->dwSess = dwSess;
|