From c3e735f9dcd73f1d9cbf502f2e04c1a4ecf9f0cd Mon Sep 17 00:00:00 2001 From: Mataes Date: Sat, 31 Mar 2018 20:01:27 +0300 Subject: Msg_Export: mir_strcpy and mir_wstrcpy replaced to strncpy_s and wcsncpy_s --- plugins/Msg_Export/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Msg_Export/src/options.cpp') diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index 7765d1cc95..7dff1cf799 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -1043,7 +1043,7 @@ BOOL bApplyChanges2(HWND hwndDlg) enDeleteAction = eDANothing; char szTemp[500]; - mir_strcpy(szTemp, "DisableProt_"); + strncpy_s(szTemp, "DisableProt_", _TRUNCATE); HWND hMapUser = GetDlgItem(hwndDlg, IDC_EXPORT_PROTOS); int nCount = ListView_GetItemCount(hMapUser); -- cgit v1.2.3