(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers

This commit is contained in:
rubidium
2010-11-13 11:38:01 +00:00
parent a664227c8e
commit 68b94e61e0
4 changed files with 22 additions and 19 deletions

View File

@@ -59,4 +59,6 @@ struct LanguageMetadata : public LanguagePackHeader {
/** The currently loaded language. */
extern const LanguageMetadata *_current_language;
bool ReadLanguagePack(const LanguageMetadata *lang);
#endif /* LANGUAGE_H */