summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index c6d1e1bd1..4954e0d8c 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -891,7 +891,7 @@ void Theme::loadRect(ImageRect &image,
Theme::getThemePath());
if (skin != nullptr)
{
- loadGrid();
+ loadGrid()
unload(skin);
}
}
@@ -907,7 +907,7 @@ Skin *Theme::loadSkinRect(ImageRect &image,
true,
Theme::getThemePath());
if (skin != nullptr)
- loadGrid();
+ loadGrid()
return skin;
}