aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2009-04-03 15:12:46 +0000
committerMax Horn2009-04-03 15:12:46 +0000
commit21ebc88b000d74cfcb6add52ae6053e553ced9e9 (patch)
treeef79f2a1f24c2a65417a3eefcb69a7d956ed60a4 /gui
parent52261c0bef6ce3da5ecbafa51f73c6e4ef547214 (diff)
downloadscummvm-rg350-21ebc88b000d74cfcb6add52ae6053e553ced9e9.tar.gz
scummvm-rg350-21ebc88b000d74cfcb6add52ae6053e553ced9e9.tar.bz2
scummvm-rg350-21ebc88b000d74cfcb6add52ae6053e553ced9e9.zip
GUI: Commited fix for bug in ThemeParser::parserCallback_defaults (at least I think this is the correct fix, somebody should review this)
svn-id: r39812
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeParser.cpp b/gui/ThemeParser.cpp
index fcba466dc4..d0e5528480 100644
--- a/gui/ThemeParser.cpp
+++ b/gui/ThemeParser.cpp
@@ -136,7 +136,7 @@ bool ThemeParser::parserCallback_defaults(ParserNode *node) {
step = _defaultStepGlobal;
} else if (parentNode->name == "drawdata") {
if (_defaultStepLocal == 0)
- _defaultStepLocal = new Graphics::DrawStep(*_defaultStepLocal);
+ _defaultStepLocal = new Graphics::DrawStep(*_defaultStepGlobal);
step = _defaultStepLocal;
} else {