From 96d3720a8b42bdd4e2595b57a725930289dc791f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 5 Feb 2015 19:50:20 +0000 Subject: Various: -some warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@12011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/container.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src') 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; } -- cgit v1.2.3