aboutsummaryrefslogtreecommitdiff
path: root/gui/gui-manager.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-11-30 18:50:19 +0000
committerJordi Vilalta Prat2010-11-30 18:50:19 +0000
commit8393bc5b5f2f3e5304cf589c21956676c4bd04c1 (patch)
tree7f4292c824d384fc4be70288d350926ddb1bcb43 /gui/gui-manager.cpp
parent3c55c9faf72804e2f2efca0d7b924e2b696e18e8 (diff)
downloadscummvm-rg350-8393bc5b5f2f3e5304cf589c21956676c4bd04c1.tar.gz
scummvm-rg350-8393bc5b5f2f3e5304cf589c21956676c4bd04c1.tar.bz2
scummvm-rg350-8393bc5b5f2f3e5304cf589c21956676c4bd04c1.zip
I18N: Don't build TranslationManager when translation is disabled.
svn-id: r54684
Diffstat (limited to 'gui/gui-manager.cpp')
-rw-r--r--gui/gui-manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp
index a8883b793b..af567c65d8 100644
--- a/gui/gui-manager.cpp
+++ b/gui/gui-manager.cpp
@@ -64,8 +64,10 @@ GuiManager::GuiManager() : _redrawStatus(kRedrawDisabled), _stateIsSaved(false),
// Clear the cursor
memset(_cursor, 0xFF, sizeof(_cursor));
+#ifdef USE_TRANSLATION
// Enable translation
TransMan.setLanguage(ConfMan.get("gui_language").c_str());
+#endif // USE_TRANSLATION
ConfMan.registerDefault("gui_theme", "scummmodern");
Common::String themefile(ConfMan.get("gui_theme"));