summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/container.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-02-05 19:50:20 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-02-05 19:50:20 +0000
commit96d3720a8b42bdd4e2595b57a725930289dc791f (patch)
tree6ce9a54ca612851fe772c54b7c82aadfc4d4fa11 /plugins/TabSRMM/src/container.cpp
parent9266f20959d58859070111cafe2a054de906fbb0 (diff)
Various:
-some warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@12011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r--plugins/TabSRMM/src/container.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp
index 1c24f0129b..481f1a9950 100644
--- a/plugins/TabSRMM/src/container.cpp
+++ b/plugins/TabSRMM/src/container.cpp
@@ -47,7 +47,10 @@ static bool fForceOverlayIcons = false;
void TSAPI SetAeroMargins(TContainerData *pContainer)
{
- if ( !M.isAero() || !pContainer || CSkin::m_skinEnabled) {
+ if(!pContainer)
+ return;
+
+ if (!M.isAero() || CSkin::m_skinEnabled) {
pContainer->MenuBar->setAero(false);
return;
}