(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

@@ -98,7 +98,6 @@ static inline void CopyOutDParam(uint64 *dst, int offs, int num)
extern DynamicLanguages _dynlang; // defined in strings.cpp
extern TextDirection _current_text_dir; ///< Text direction of the currently selected language
bool ReadLanguagePack(int index);
void InitializeLanguagePacks();
const char *GetCurrentLanguageIsoCode();