diff options
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);
}
|