summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/options.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-03-31 20:01:27 +0300
committerMataes <mataes2007@gmail.com>2018-03-31 20:01:27 +0300
commitc3e735f9dcd73f1d9cbf502f2e04c1a4ecf9f0cd (patch)
treee9ab42a462ff74cabf7d4f31001ea53353191d45 /plugins/Msg_Export/src/options.cpp
parent8d6d0d8db6a105676442a1e592c5973a2a14500e (diff)
Msg_Export: mir_strcpy and mir_wstrcpy replaced to strncpy_s and wcsncpy_s
Diffstat (limited to 'plugins/Msg_Export/src/options.cpp')
-rwxr-xr-xplugins/Msg_Export/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
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);