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/Shot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Shot.cpp') diff --git a/Stars45/Shot.cpp b/Stars45/Shot.cpp index 9b10e87..6f3ee93 100644 --- a/Stars45/Shot.cpp +++ b/Stars45/Shot.cpp @@ -133,7 +133,7 @@ charge(1.0f), design(dsn), offset(1.0e5f), altitude_agl(-1.0e6f), hit_target(fal Observe((SimObject*) owner); } - sprintf(name, "Shot(%s)", design->name); + sprintf_s(name, "Shot(%s)", design->name); } // +--------------------------------------------------------------------+ -- cgit v1.1