From bf0f5345ea7441d0c99f7b75da1f9f7e3947ff57 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 6 Oct 2013 12:13:20 +0000 Subject: (svn r25818) -Fix [FS#5750]: [GS] Language file scanner considered filenames starting with '.' as valid translations, resulting in languages with empty name, which causes trouble. --- src/game/game_text.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/game_text.hpp') diff --git a/src/game/game_text.hpp b/src/game/game_text.hpp index b367e63f9..19a31049e 100644 --- a/src/game/game_text.hpp +++ b/src/game/game_text.hpp @@ -26,7 +26,7 @@ struct LanguageStrings { const char *language; ///< Name of the language (base filename). StringList lines; ///< The lines of the file to pass into the parser/encoder. - LanguageStrings(const char *language); + LanguageStrings(const char *language, const char *end = NULL); ~LanguageStrings(); }; -- cgit v1.2.3-54-g00ecf