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/Ship.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Ship.h') diff --git a/Stars45/Ship.h b/Stars45/Ship.h index 0344cc4..128158e 100644 --- a/Stars45/Ship.h +++ b/Stars45/Ship.h @@ -336,7 +336,7 @@ public: // GENERAL ACCESSORS: const char* Registry() const { return regnum; } - void SetName(const char* ident) { strcpy(name, ident); } + void SetName(const char* ident) { strcpy_s(name, ident); } const ShipDesign* Design() const { return design; } const char* Abbreviation() const; const char* DesignName() const; -- cgit v1.1