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/Galaxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Galaxy.cpp') diff --git a/Stars45/Galaxy.cpp b/Stars45/Galaxy.cpp index f1249a0..20f37d7 100644 --- a/Stars45/Galaxy.cpp +++ b/Stars45/Galaxy.cpp @@ -72,7 +72,7 @@ Galaxy::Load() { DataLoader* loader = DataLoader::GetLoader(); loader->SetDataPath("Galaxy/"); - sprintf(filename, "%s.def", (const char*) name); + sprintf_s(filename, "%s.def", (const char*) name); Load(filename); // load mod galaxies: -- cgit v1.1