summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/themes.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-19 19:04:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-19 19:04:41 +0300
commit03abc0234e40183256bba3d2b9cdf809d92363f2 (patch)
tree794b80410ddb80d57094dd58706c37b4e0c27a6b /plugins/TabSRMM/src/themes.cpp
parent212d14abad9935d580e7073088af0f428792bdfb (diff)
minor code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r--plugins/TabSRMM/src/themes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp
index 1a94eed47f..fb7c3ce8c2 100644
--- a/plugins/TabSRMM/src/themes.cpp
+++ b/plugins/TabSRMM/src/themes.cpp
@@ -1172,7 +1172,7 @@ void CSkin::Unload()
::DestroyIcon(*(m_skinIcons[i].phIcon));
mir_free(m_skinIcons);
- if (!g_bShutdown) {
+ if (!Miranda_IsTerminated()) {
M.getAeroState(); // refresh after unload
::FreeTabConfig();
::ReloadTabConfig();