aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
authorThierry Crozat2010-09-25 22:47:00 +0000
committerThierry Crozat2010-09-25 22:47:00 +0000
commitb1f63deba3afe176646dbf9aae5c22cfab453785 (patch)
treed1de5e4243162f600b0ec456152f640f0704c46a /base/main.cpp
parent76992402d7d11ced3c0a676774bb768cc4454d10 (diff)
downloadscummvm-rg350-b1f63deba3afe176646dbf9aae5c22cfab453785.tar.gz
scummvm-rg350-b1f63deba3afe176646dbf9aae5c22cfab453785.tar.bz2
scummvm-rg350-b1f63deba3afe176646dbf9aae5c22cfab453785.zip
GUI: Partial fix to bug #3075649 Fonts not found with buit-in theme
When the locale font are not found when loading the theme, it now fallbacks to default language (i.e. English) and default font. For this to work I had to move the TranslationManager initialization before the Theme is loaded. Therefore it is now initialized when the GuiManager is constructed. svn-id: r52896
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 4858501126..dff9a0d564 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -362,9 +362,6 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
setupGraphics(system);
- // Enable translation
- TransMan.setLanguage(ConfMan.get("gui_language").c_str());
-
// Init the event manager. As the virtual keyboard is loaded here, it must
// take place after the backend is initiated and the screen has been setup
system.getEventManager()->init();