summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Galaxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Galaxy.cpp')
-rw-r--r--Stars45/Galaxy.cpp2
1 files changed, 1 insertions, 1 deletions
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: