summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/utils.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
commitc09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch)
tree9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/FTPFileYM/src/utils.cpp
parentbabf7873a3fe373d60ef22b1b671d98e014d8819 (diff)
replace _tcscpy to mir_tstrcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/src/utils.cpp')
-rw-r--r--plugins/FTPFileYM/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FTPFileYM/src/utils.cpp b/plugins/FTPFileYM/src/utils.cpp
index 02c5ecddb7..3cd128499b 100644
--- a/plugins/FTPFileYM/src/utils.cpp
+++ b/plugins/FTPFileYM/src/utils.cpp
@@ -63,7 +63,7 @@ TCHAR *Utils::getTextFragment(TCHAR *stzText, size_t length, TCHAR *buff)
{
if (mir_tstrlen(stzText) > length)
{
- _tcscpy(buff, stzText);
+ mir_tstrcpy(buff, stzText);
buff[length - 1] = 0;
_tcscat(buff, _T("..."));
return buff;
@@ -211,7 +211,7 @@ bool Utils::setFileNameDlgA(char *nameBuff)
{
TCHAR buff[64];
TCHAR *tmp = mir_a2t(nameBuff);
- _tcscpy(buff, tmp);
+ mir_tstrcpy(buff, tmp);
FREE(tmp);
bool res = setFileNameDlg(buff);