diff options
author | Johannes Schickel | 2007-04-29 00:15:32 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-04-29 00:15:32 +0000 |
commit | e0b462b33b9080b46d354d525ef54da4c186bf1e (patch) | |
tree | 04f4df3750a994d0fc1563621c9dff99b505ffd8 | |
parent | f5c73e1603c98df8a9e0ac1c99e9b4da27eb8132 (diff) | |
download | scummvm-rg350-e0b462b33b9080b46d354d525ef54da4c186bf1e.tar.gz scummvm-rg350-e0b462b33b9080b46d354d525ef54da4c186bf1e.tar.bz2 scummvm-rg350-e0b462b33b9080b46d354d525ef54da4c186bf1e.zip |
Fix for crash when trying to select an outdated/wrong theme config.
svn-id: r26670
-rw-r--r-- | gui/newgui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 6d153a6b77..948c7fa56f 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -134,6 +134,7 @@ bool NewGui::loadNewTheme(const Common::String &style) { } delete _theme; + _theme = 0; if (style.compareToIgnoreCase("classic (builtin)") == 0) { _theme = new ThemeClassic(_system, style); |