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/utils.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/FTPFileYM/src/utils.h') diff --git a/plugins/FTPFileYM/src/utils.h b/plugins/FTPFileYM/src/utils.h index 7c83869ade..de5fd9d911 100644 --- a/plugins/FTPFileYM/src/utils.h +++ b/plugins/FTPFileYM/src/utils.h @@ -27,21 +27,21 @@ private: static INT_PTR CALLBACK DlgProcSetFileName(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); public: - static int msgBox(TCHAR *szMsg, UINT uType); + static int msgBox(wchar_t *szMsg, UINT uType); static int msgBoxA(char *szMsg, UINT uType); static int getDeleteTimeMin(); static HICON loadIconEx(const char *szName); static HANDLE getIconHandle(const char *szName); - static TCHAR *getFileNameFromPath(TCHAR *stzPath); - static TCHAR *getTextFragment(TCHAR *stzText, size_t length, TCHAR *buff); - static char *makeSafeString(TCHAR *input, char *output); + static wchar_t *getFileNameFromPath(wchar_t *stzPath); + static wchar_t *getTextFragment(wchar_t *stzText, size_t length, wchar_t *buff); + static char *makeSafeString(wchar_t *input, char *output); static void createFileDownloadLink(char *szUrl, char *fileName, char *buff, int buffSize); static void copyToClipboard(char *szText); static void curlSetOpt(CURL *hCurl, ServerList::FTP *ftp, char *url, struct curl_slist *headerList, char *errorBuff); - static bool setFileNameDlg(TCHAR *nameBuff); + static bool setFileNameDlg(wchar_t *nameBuff); static bool setFileNameDlgA(char *nameBuff); }; -- cgit v1.2.3