diff options
author | Mataes <mataes2007@gmail.com> | 2018-03-17 21:41:50 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-03-17 21:41:50 +0300 |
commit | f632783f27da5dd0ed3513bbee6182ea8af30afe (patch) | |
tree | 9cc74d2944501221126e628404532aed8c7b5cd9 /plugins/FTPFileYM/src/job_delete.cpp | |
parent | 32ac77ea600fa6ae33fea77d2be8fdaec865da7b (diff) |
FTPFile: replace mir_strcpy and mir_wstrcpy
Diffstat (limited to 'plugins/FTPFileYM/src/job_delete.cpp')
-rw-r--r-- | plugins/FTPFileYM/src/job_delete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/src/job_delete.cpp b/plugins/FTPFileYM/src/job_delete.cpp index 0a39dd7ab1..6bb44b32dd 100644 --- a/plugins/FTPFileYM/src/job_delete.cpp +++ b/plugins/FTPFileYM/src/job_delete.cpp @@ -90,7 +90,7 @@ void DeleteJob::run() }
else if (manDlg != nullptr && m_treeItem) {
wchar_t *error = mir_a2u(szError);
- mir_wstrcpy(m_treeItem->m_tszToolTip, error);
+ wcsncpy_s(m_treeItem->m_tszToolTip, error, _TRUNCATE);
m_treeItem->setState(Manager::TreeItem::_ERROR());
FREE(error);
}
|