(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.

This commit is contained in:
frosch
2013-10-06 12:13:20 +00:00
parent 13f2db5008
commit 5fba4e4e58
2 changed files with 15 additions and 12 deletions

View File

@@ -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();
};