diff --git a/src/celengine/nebula.cpp b/src/celengine/nebula.cpp index 7d2e822bd..fd4783155 100644 --- a/src/celengine/nebula.cpp +++ b/src/celengine/nebula.cpp @@ -44,7 +44,7 @@ void Nebula::setType(const string& /*typeStr*/) size_t Nebula::getDescription(char* buf, size_t bufLength) const { - return snprintf(buf, bufLength, _("%s"), getType()); + return snprintf(buf, bufLength, _("Nebula")); } diff --git a/src/celengine/opencluster.cpp b/src/celengine/opencluster.cpp index b3a573cce..9e4c6e4c9 100644 --- a/src/celengine/opencluster.cpp +++ b/src/celengine/opencluster.cpp @@ -41,7 +41,7 @@ void OpenCluster::setType(const std::string& /*typeStr*/) size_t OpenCluster::getDescription(char* buf, size_t bufLength) const { - return snprintf(buf, bufLength, _("%s"), getType()); + return snprintf(buf, bufLength, _("Open cluster")); } const char* OpenCluster::getObjTypeName() const