aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/newgui.cpp1
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);