summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/container.cpp
diff options
context:
space:
mode:
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;
}