From 9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 21:12:14 +0000 Subject: More string safety stuff --- Stars45/CmpCompleteDlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/CmpCompleteDlg.cpp') diff --git a/Stars45/CmpCompleteDlg.cpp b/Stars45/CmpCompleteDlg.cpp index 7d9c5a0..8a3e9d1 100644 --- a/Stars45/CmpCompleteDlg.cpp +++ b/Stars45/CmpCompleteDlg.cpp @@ -69,10 +69,10 @@ CmpCompleteDlg::Show() char img_name[256]; if (event) { - strcpy(img_name, event->ImageFile()); + strcpy_s(img_name, event->ImageFile()); if (!strstr(img_name, ".pcx")) { - strcat(img_name, ".pcx"); + strcat_s(img_name, ".pcx"); } if (loader) { -- cgit v1.1