From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FTPFileYM/src/job_packer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/FTPFileYM/src/job_packer.cpp') diff --git a/plugins/FTPFileYM/src/job_packer.cpp b/plugins/FTPFileYM/src/job_packer.cpp index 7d98a18fbd..3a6b037d5a 100644 --- a/plugins/FTPFileYM/src/job_packer.cpp +++ b/plugins/FTPFileYM/src/job_packer.cpp @@ -54,11 +54,11 @@ void PackerJob::getZipFilePath() } if (stzFileName[0] == '\0') - mir_tstrcpy(stzFileName, _T("archive")); + mir_tstrcpy(stzFileName, L"archive"); GetTempPath(_countof(buff), buff); - mir_sntprintf(m_tszFilePath, _T("%s%s.zip"), buff, stzFileName); + mir_sntprintf(m_tszFilePath, L"%s%s.zip", buff, stzFileName); mir_tstrcpy(m_tszFileName, Utils::getFileNameFromPath(m_tszFilePath)); if (opt.bSetZipName) @@ -161,7 +161,7 @@ int PackerJob::createZipFile() FREE(file); if (err == ZIP_OK) { - FILE *fin = _tfopen(m_files[i], _T("rb")); + FILE *fin = _tfopen(m_files[i], L"rb"); if (fin) { do { if (isCanceled()) { @@ -245,8 +245,8 @@ void PackerJob::updateStats() int m = (s - d * 60 * 60 * 24 - h * 60 * 60) / 60; s = s - (d * 24 * 60 * 60) - (h * 60 * 60) - (m * 60); - if (d > 0) mir_sntprintf(buff, _T("%dd %02d:%02d:%02d"), d, h, m, s); - else mir_sntprintf(buff, _T("%02d:%02d:%02d"), h, m, s); + if (d > 0) mir_sntprintf(buff, L"%dd %02d:%02d:%02d", d, h, m, s); + else mir_sntprintf(buff, L"%02d:%02d:%02d", h, m, s); mir_sntprintf(m_tab->m_stzRemain, TranslateT("%s (%d kB/%d kB)"), buff, (m_uiFileSize - m_uiReaded) / 1024, m_uiFileSize / 1024); refreshTab(false); -- cgit v1.2.3