diff options
author | frosch <frosch@openttd.org> | 2013-10-06 12:13:20 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-10-06 12:13:20 +0000 |
commit | bf0f5345ea7441d0c99f7b75da1f9f7e3947ff57 (patch) | |
tree | be2dfc61c7e814dd4ffec93eb001469d7b9fd9e6 /src/game/game_text.hpp | |
parent | 4912e3170e781ed97388ebc0a24c61779dd2662d (diff) | |
download | openttd-bf0f5345ea7441d0c99f7b75da1f9f7e3947ff57.tar.xz |
(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.
Diffstat (limited to 'src/game/game_text.hpp')
-rw-r--r-- | src/game/game_text.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); }; |