diff --git a/src/challenges/challenge.cpp b/src/challenges/challenge.cpp index 2091e7ece..6679804de 100755 --- a/src/challenges/challenge.cpp +++ b/src/challenges/challenge.cpp @@ -22,9 +22,9 @@ #include "world.hpp" #include "race_manager.hpp" #include "track_manager.hpp" -#if defined(WIN32) && !defined(__CYGWIN__) -# define snprintf _snprintf -#endif +#if defined(WIN32) && !defined(__CYGWIN__) +# define snprintf _snprintf +#endif Challenge::Challenge(std::string id, std::string name) : @@ -111,7 +111,7 @@ const std::string Challenge::getUnlockedMessage() const case UNLOCK_TRACK: { Track* track = track_manager->getTrack( m_feature[n].name ); - snprintf(message, 127, _("New track '%s'\nnow available"), gettext(track->getName()) ); + snprintf(message, 127, _("New track '%s'\nnow available"), _(track->getName()) ); break; } case UNLOCK_MODE: