From c09aa99a7e9915c503064d6eb5e9dd1bdd2a673f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 20:07:58 +0000 Subject: replace _tcscpy to mir_tstrcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhoUsesMyFiles/src/list.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/WhoUsesMyFiles/src') 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); -- cgit v1.2.3