From babf7873a3fe373d60ef22b1b671d98e014d8819 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 19:52:29 +0000 Subject: replace strcpy to mir_strcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FTPFileYM/src/utils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/FTPFileYM/src/utils.cpp') diff --git a/plugins/FTPFileYM/src/utils.cpp b/plugins/FTPFileYM/src/utils.cpp index ddecc51625..02c5ecddb7 100644 --- a/plugins/FTPFileYM/src/utils.cpp +++ b/plugins/FTPFileYM/src/utils.cpp @@ -81,7 +81,7 @@ void Utils::copyToClipboard(char *szText) EmptyClipboard(); HGLOBAL hClipboardData = GlobalAlloc(GMEM_DDESHARE, 1024); char *pchData = (char *)GlobalLock(hClipboardData); - strcpy(pchData, szText); + mir_strcpy(pchData, szText); GlobalUnlock(hClipboardData); SetClipboardData(CF_TEXT, hClipboardData); CloseClipboard(); @@ -109,7 +109,7 @@ char* Utils::makeSafeString(TCHAR *input, char *output) } } - strcpy(output, buff); + mir_strcpy(output, buff); FREE(buff); return output; @@ -218,7 +218,7 @@ bool Utils::setFileNameDlgA(char *nameBuff) if (res) { char *p = mir_t2a(buff); - strcpy(nameBuff, p); + mir_strcpy(nameBuff, p); FREE(p); } -- cgit v1.2.3