diff options
Diffstat (limited to 'Stars45/Contact.cpp')
-rw-r--r-- | Stars45/Contact.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/Contact.cpp b/Stars45/Contact.cpp index 8f5678c..667a9e1 100644 --- a/Stars45/Contact.cpp +++ b/Stars45/Contact.cpp @@ -98,11 +98,11 @@ Contact::GetObserverName() const static char name[128];
if (ship)
- sprintf(name, "Contact Ship='%s'", ship->Name());
+ sprintf_s(name, "Contact Ship='%s'", ship->Name());
else if (shot)
- sprintf(name, "Contact Shot='%s' %s", shot->Name(), shot->DesignName());
+ sprintf_s(name, "Contact Shot='%s' %s", shot->Name(), shot->DesignName());
else
- sprintf(name, "Contact (unknown)");
+ sprintf_s(name, "Contact (unknown)");
return name;
}
|