diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 20:07:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 20:07:58 +0000 |
commit | c09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch) | |
tree | 9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/FTPFileYM/src/job_packer.cpp | |
parent | babf7873a3fe373d60ef22b1b671d98e014d8819 (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/job_packer.cpp')
-rw-r--r-- | plugins/FTPFileYM/src/job_packer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/FTPFileYM/src/job_packer.cpp b/plugins/FTPFileYM/src/job_packer.cpp index 26f1bc9ad5..05898d3f41 100644 --- a/plugins/FTPFileYM/src/job_packer.cpp +++ b/plugins/FTPFileYM/src/job_packer.cpp @@ -36,29 +36,29 @@ void PackerJob::getZipFilePath() if (this->files.size() == 1)
{
- _tcscpy(stzFileName, Utils::getFileNameFromPath(this->files[0]));
+ mir_tstrcpy(stzFileName, Utils::getFileNameFromPath(this->files[0]));
pch = _tcsrchr(stzFileName, '.');
if (pch) *pch = 0;
}
else
{
- _tcscpy(buff, this->files[0]);
+ mir_tstrcpy(buff, this->files[0]);
pch = _tcsrchr(buff, '\\');
if (pch)
{
*pch = 0;
pch = _tcsrchr(buff, '\\');
- if (pch) _tcscpy(stzFileName, pch + 1);
+ if (pch) mir_tstrcpy(stzFileName, pch + 1);
}
}
if (stzFileName[0] == '\0')
- _tcscpy(stzFileName, _T("archive"));
+ mir_tstrcpy(stzFileName, _T("archive"));
GetTempPath(SIZEOF(buff), buff);
mir_sntprintf(this->stzFilePath, SIZEOF(this->stzFilePath), _T("%s%s.zip"), buff, stzFileName);
- _tcscpy(this->stzFileName, Utils::getFileNameFromPath(this->stzFilePath));
+ mir_tstrcpy(this->stzFileName, Utils::getFileNameFromPath(this->stzFilePath));
if (opt.bSetZipName)
Utils::setFileNameDlg(this->stzFileName);
|