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/ShipAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/ShipAI.cpp') diff --git a/Stars45/ShipAI.cpp b/Stars45/ShipAI.cpp index b06d20a..f64f8bc 100644 --- a/Stars45/ShipAI.cpp +++ b/Stars45/ShipAI.cpp @@ -203,7 +203,7 @@ const char* ShipAI::GetObserverName() const { static char name[64]; - sprintf(name, "ShipAI(%s)", self->Name()); + sprintf_s(name, "ShipAI(%s)", self->Name()); return name; } -- cgit v1.1