diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 21:12:14 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 21:12:14 +0000 |
commit | 9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95 (patch) | |
tree | aa4691cd582e1b074d43ba30e930f29b7942885d /Stars45/Galaxy.cpp | |
parent | b2805409566af00bc15639494f5a186fbd2f16e6 (diff) | |
download | starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.zip starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.tar.gz starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.tar.bz2 |
More string safety stuff
Diffstat (limited to 'Stars45/Galaxy.cpp')
-rw-r--r-- | Stars45/Galaxy.cpp | 2 |
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:
|