summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/job_upload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/job_upload.cpp')
-rw-r--r--plugins/FTPFileYM/src/job_upload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FTPFileYM/src/job_upload.cpp b/plugins/FTPFileYM/src/job_upload.cpp
index 5369763b60..ac490cf5a9 100644
--- a/plugins/FTPFileYM/src/job_upload.cpp
+++ b/plugins/FTPFileYM/src/job_upload.cpp
@@ -62,8 +62,8 @@ void UploadJob::addToUploadDlg()
{
for (UINT i = 0; i < this->files.size(); i++) {
UploadJob *jobCopy = new UploadJob(this);
- _tcscpy(jobCopy->stzFilePath, this->files[i]);
- _tcscpy(jobCopy->stzFileName, Utils::getFileNameFromPath(jobCopy->stzFilePath));
+ mir_tstrcpy(jobCopy->stzFilePath, this->files[i]);
+ mir_tstrcpy(jobCopy->stzFileName, Utils::getFileNameFromPath(jobCopy->stzFilePath));
Utils::makeSafeString(jobCopy->stzFileName, jobCopy->szSafeFileName);
UploadDialog::Tab *newTab = new UploadDialog::Tab(jobCopy);