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/MissionTemplate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/MissionTemplate.cpp') diff --git a/Stars45/MissionTemplate.cpp b/Stars45/MissionTemplate.cpp index 3c64093..18257ab 100644 --- a/Stars45/MissionTemplate.cpp +++ b/Stars45/MissionTemplate.cpp @@ -281,10 +281,10 @@ MissionTemplate::Load(const char* fname, const char* pname) ok = false; if (fname) - strcpy(filename, fname); + strcpy_s(filename, fname); if (pname) - strcpy(path, pname); + strcpy_s(path, pname); if (!filename[0]) { Print("\nCan't Load Mission Template, script unspecified.\n"); -- cgit v1.1