summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/CConfig.cpp')
-rw-r--r--plugins/MirandaG15/src/CConfig.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirandaG15/src/CConfig.cpp b/plugins/MirandaG15/src/CConfig.cpp
index 70b40b89ba..6309483209 100644
--- a/plugins/MirandaG15/src/CConfig.cpp
+++ b/plugins/MirandaG15/src/CConfig.cpp
@@ -27,8 +27,7 @@ void CConfig::Initialize()
void CConfig::Shutdown()
{
- if(m_hSampleFont)
- DeleteObject(m_hSampleFont);
+ DeleteObject(m_hSampleFont);
UnhookEvent(m_hOptionsInitHook);
}