summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-13 11:38:01 +0000
committerrubidium <rubidium@openttd.org>2010-11-13 11:38:01 +0000
commit68b94e61e03e8ff26c6e84ed99f2a1154ed0e638 (patch)
tree6b274fbfccbb269d1ed1b2127dd00a258304e04b /src/settings_gui.cpp
parenta664227c8e98a93856ae2c23d2efd63d3eaf0fa2 (diff)
downloadopenttd-68b94e61e03e8ff26c6e84ed99f2a1154ed0e638.tar.xz
(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 871a3b8ea..24f73bd71 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -418,7 +418,7 @@ struct GameOptionsWindow : Window {
break;
case GOW_LANG_DROPDOWN: // Change interface language
- ReadLanguagePack(index);
+ ReadLanguagePack(&_dynlang.ent[index]);
CheckForMissingGlyphsInLoadedLanguagePack();
UpdateAllVirtCoords();
ReInitAllWindows();