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/Drone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Drone.cpp') diff --git a/Stars45/Drone.cpp b/Stars45/Drone.cpp index 3087897..c4dc591 100644 --- a/Stars45/Drone.cpp +++ b/Stars45/Drone.cpp @@ -40,7 +40,7 @@ decoy_type(0), iff_code(0) decoy_type = dsn->decoy_type; probe = dsn->probe; integrity = dsn->integrity; - sprintf(name, "Drone %04d", Identity()); + sprintf_s(name, "Drone %04d", Identity()); } } -- cgit v1.1