From 35b15a9e7a73e4daef25e255f6462aea9784bbe1 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 18 Aug 2015 19:08:23 -0400 Subject: [PATCH] Fixed corrupted text introduce with recent change of how translations are handled --- src/race/race_manager.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/race/race_manager.hpp b/src/race/race_manager.hpp index ea45be6e8..760acb28d 100644 --- a/src/race/race_manager.hpp +++ b/src/race/race_manager.hpp @@ -168,7 +168,7 @@ public: /** Returns a (translated) name of a minor race mode. * \param mode Minor race mode. */ - static const wchar_t* getNameOf(const MinorRaceModeType mode) + static const core::stringw getNameOf(const MinorRaceModeType mode) { switch (mode) { @@ -184,7 +184,7 @@ public: case MINOR_MODE_EASTER_EGG: return _("Egg Hunt"); //I18N: Game mode case MINOR_MODE_SOCCER: return _("Soccer"); - default: assert(false); return NULL; + default: assert(false); return L""; } } // getNameOf