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/GroundAI.cpp | |
parent | b2805409566af00bc15639494f5a186fbd2f16e6 (diff) | |
download | starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.zip starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.tar.gz starshatter-9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95.tar.bz2 |
More string safety stuff
Diffstat (limited to 'Stars45/GroundAI.cpp')
-rw-r--r-- | Stars45/GroundAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/GroundAI.cpp b/Stars45/GroundAI.cpp index 3cb2f28..cd4d68b 100644 --- a/Stars45/GroundAI.cpp +++ b/Stars45/GroundAI.cpp @@ -101,7 +101,7 @@ const char* GroundAI::GetObserverName() const
{
static char name[64];
- sprintf(name, "GroundAI(%s)", ship->Name());
+ sprintf_s(name, "GroundAI(%s)", ship->Name());
return name;
}
|