summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src/list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/list.cpp')
-rw-r--r--plugins/WhoUsesMyFiles/src/list.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/WhoUsesMyFiles/src/list.cpp b/plugins/WhoUsesMyFiles/src/list.cpp
index 641f8f5e19..48d4bf80e7 100644
--- a/plugins/WhoUsesMyFiles/src/list.cpp
+++ b/plugins/WhoUsesMyFiles/src/list.cpp
@@ -19,10 +19,10 @@ PWumf new_wumf( DWORD dwID,
w->szUNC = mir_tstrdup(szUNC);
switch(dwPerm) {
- case PERM_FILE_READ: _tcscpy(w->szPerm, _T("Read"));break;
- case PERM_FILE_WRITE: _tcscpy(w->szPerm, _T("Write"));break;
- case PERM_FILE_CREATE: _tcscpy(w->szPerm, _T("Create"));break;
- default: _tcscpy(w->szPerm, _T("Execute"));
+ case PERM_FILE_READ: mir_tstrcpy(w->szPerm, _T("Read"));break;
+ case PERM_FILE_WRITE: mir_tstrcpy(w->szPerm, _T("Write"));break;
+ case PERM_FILE_CREATE: mir_tstrcpy(w->szPerm, _T("Create"));break;
+ default: mir_tstrcpy(w->szPerm, _T("Execute"));
}
mir_sntprintf(w->szID, SIZEOF(w->szID), _T("%i"), dwID);