summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/mim.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-29 09:19:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-29 09:19:14 +0000
commitbd276bf08cc7ae0c2c9be6b0c202047fede7c704 (patch)
treefc7d2928bb7f7a7b159a5e1af8e7182d0e3d6ba7 /plugins/TabSRMM/src/mim.cpp
parent8d86e3673af54d97b8369fdffba2200268ad3fac (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11665 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r--plugins/TabSRMM/src/mim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index 03bac72347..9834df89ae 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -169,10 +169,10 @@ void CMimAPI::InitPaths()
bool CMimAPI::getAeroState()
{
- BOOL result = FALSE;
m_isAero = m_DwmActive = false;
if (IsWinVerVistaPlus()) {
- m_DwmActive = (m_pfnDwmIsCompositionEnabled && (m_pfnDwmIsCompositionEnabled(&result) == S_OK) && result) ? true : false;
+ BOOL result = FALSE;
+ m_DwmActive = (m_pfnDwmIsCompositionEnabled && (m_pfnDwmIsCompositionEnabled(&result) == S_OK) && result);
m_isAero = (CSkin::m_skinEnabled == false) && GetByte("useAero", 1) && CSkin::m_fAeroSkinsValid && m_DwmActive;
}