aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authoragent-q2011-05-21 15:55:36 +0100
committeragent-q2011-05-21 15:55:36 +0100
commitf1903004c06de13e15d3b338986dc0212485f09f (patch)
treec8472f8e684705caebc42e3b27cd56a259c8e670 /gui
parent3ce4b76b0db10fe878305ed1c8b84c6bb1ad4883 (diff)
downloadscummvm-rg350-f1903004c06de13e15d3b338986dc0212485f09f.tar.gz
scummvm-rg350-f1903004c06de13e15d3b338986dc0212485f09f.tar.bz2
scummvm-rg350-f1903004c06de13e15d3b338986dc0212485f09f.zip
GUI: Prevent the GUI code from incorrectly reloading the theme when the builtin theme is used.
Diffstat (limited to 'gui')
-rw-r--r--gui/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 547ab0f3c6..d2369b9764 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -141,8 +141,8 @@ void OptionsDialog::init() {
_subSpeedDesc = 0;
_subSpeedSlider = 0;
_subSpeedLabel = 0;
- _oldTheme = ConfMan.get("gui_theme");
-
+ _oldTheme = g_gui.theme()->getThemeId();
+
// Retrieve game GUI options
_guioptions = 0;
if (ConfMan.hasKey("guioptions", _domain)) {