diff options
Diffstat (limited to 'Stars45/Ship.h')
-rw-r--r-- | Stars45/Ship.h | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|