summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Weapon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Weapon.cpp')
-rw-r--r--Stars45/Weapon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Weapon.cpp b/Stars45/Weapon.cpp
index 93a7da7..26e6a8d 100644
--- a/Stars45/Weapon.cpp
+++ b/Stars45/Weapon.cpp
@@ -410,7 +410,7 @@ const char*
Weapon::GetObserverName() const
{
static char name[256];
- sprintf(name, "Weapon %s", design->name);
+ sprintf_s(name, "Weapon %s", design->name);
return name;
}