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
This commit is contained in:
Max Horn 2009-04-03 15:12:46 +00:00
parent 52261c0bef
commit 21ebc88b00

View file

@ -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 {