summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/job_packer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/job_packer.cpp')
-rw-r--r--plugins/FTPFileYM/src/job_packer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/src/job_packer.cpp b/plugins/FTPFileYM/src/job_packer.cpp
index cdfa799493..8002d2b0ed 100644
--- a/plugins/FTPFileYM/src/job_packer.cpp
+++ b/plugins/FTPFileYM/src/job_packer.cpp
@@ -52,7 +52,7 @@ void PackerJob::getZipFilePath()
}
}
- if (_tcslen(stzFileName) == 0)
+ if (stzFileName[0] == '\0')
_tcscpy(stzFileName, _T("archive"));
GetTempPath(SIZEOF(buff), buff);