From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: less TCHARs: - TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FTPFileYM/src/dialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/FTPFileYM/src/dialog.cpp') diff --git a/plugins/FTPFileYM/src/dialog.cpp b/plugins/FTPFileYM/src/dialog.cpp index 1706832239..39192e6583 100644 --- a/plugins/FTPFileYM/src/dialog.cpp +++ b/plugins/FTPFileYM/src/dialog.cpp @@ -79,7 +79,7 @@ UploadDialog::Tab::Tab(GenericJob *Job) : m_stzComplet[0] = 0; m_stzRemain[0] = 0; - TCHAR buff[256]; + wchar_t buff[256]; TCITEM tab = { 0 }; tab.mask = TCIF_TEXT; tab.pszText = Utils::getTextFragment(m_job->m_tszFileName, 20, buff); @@ -130,7 +130,7 @@ void UploadDialog::Tab::select() void UploadDialog::Tab::labelCompleted() { - TCHAR buff[64], buff2[256]; + wchar_t buff[64], buff2[256]; mir_sntprintf(buff2, L"* %s", Utils::getTextFragment(m_job->m_tszFileName, 20, buff)); TCITEM tab = { 0 }; @@ -286,7 +286,7 @@ INT_PTR CALLBACK UploadDialog::UploadDlgProc(HWND hwndDlg, UINT msg, WPARAM wPar int times[10] = { 5, 15, 30, 1 * 60, 2 * 60, 5 * 60, 10 * 60, 1 * 24 * 60, 2 * 24 * 60, 7 * 24 * 60 }; bool bChecked = (tab->m_iOptAutoDelete == -1); - TCHAR buff[256]; + wchar_t buff[256]; for (int i = 0; i < _countof(times); i++) { if (i == 3 || i == 7) -- cgit v1.2.3