From f632783f27da5dd0ed3513bbee6182ea8af30afe Mon Sep 17 00:00:00 2001 From: Mataes Date: Sat, 17 Mar 2018 21:41:50 +0300 Subject: FTPFile: replace mir_strcpy and mir_wstrcpy --- plugins/FTPFileYM/src/utils.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/FTPFileYM/src/utils.h') diff --git a/plugins/FTPFileYM/src/utils.h b/plugins/FTPFileYM/src/utils.h index de5fd9d911..084e66a664 100644 --- a/plugins/FTPFileYM/src/utils.h +++ b/plugins/FTPFileYM/src/utils.h @@ -35,13 +35,11 @@ public: static HANDLE getIconHandle(const char *szName); 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 CMStringA makeSafeString(CMStringA &input); 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(wchar_t *nameBuff); - static bool setFileNameDlgA(char *nameBuff); }; -- cgit v1.2.3