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