aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2007-02-09 00:06:54 +0000
committerJohannes Schickel2007-02-09 00:06:54 +0000
commitdda1431e7c6b223a5686fe6d06d5268adbbb5e33 (patch)
tree0762f8f858617c52cf8fedc6acf88e77cc2650e1 /gui
parent810056dcf6934291a9a448ba942dbb2bb3dbc504 (diff)
downloadscummvm-rg350-dda1431e7c6b223a5686fe6d06d5268adbbb5e33.tar.gz
scummvm-rg350-dda1431e7c6b223a5686fe6d06d5268adbbb5e33.tar.bz2
scummvm-rg350-dda1431e7c6b223a5686fe6d06d5268adbbb5e33.zip
cleanup
svn-id: r25435
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index fd8a71efc9..62461a386b 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -99,10 +99,8 @@ NewGui::NewGui() : _needRedraw(false),
// Reset key repeat
_currentKeyDown.keycode = 0;
- bool loadClassicTheme;
-#ifdef DISABLE_FANCY_THEMES
- loadClassicTheme = true;
-#else
+ bool loadClassicTheme = true;
+#ifndef DISABLE_FANCY_THEMES
ConfMan.registerDefault("gui_theme", "default");
Common::String style(ConfMan.get("gui_theme"));
// The default theme for now is the 'modern' theme.