summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/include/taskbar.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-29 14:19:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-29 14:19:12 +0000
commitc1840425166576b1cf187076a9344a78a20375b6 (patch)
tree7c7e1d66219c7b2ed6b57a397ac67b3541aa127e /plugins/TabSRMM/include/taskbar.h
parentd80ee102fba0f99ad2ab0e0e734267f76b3b639e (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/include/taskbar.h')
-rw-r--r--plugins/TabSRMM/include/taskbar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/include/taskbar.h b/plugins/TabSRMM/include/taskbar.h
index 1b1725d48f..5f48fdd756 100644
--- a/plugins/TabSRMM/include/taskbar.h
+++ b/plugins/TabSRMM/include/taskbar.h
@@ -142,10 +142,10 @@ public:
m_IconSize = 0;
m_isEnabled = IsWinVer7Plus() ? true : false;
- if(m_isEnabled) {
+ if (m_isEnabled) {
::CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_ALL, IID_ITaskbarList3, (void**)&m_pTaskbarInterface);
updateMetrics();
- if(0 == m_pTaskbarInterface)
+ if (0 == m_pTaskbarInterface)
m_isEnabled = false;
}
@@ -164,7 +164,7 @@ public:
~CTaskbarInteract()
{
- if(m_isEnabled && m_pTaskbarInterface) {
+ if (m_isEnabled && m_pTaskbarInterface) {
m_pTaskbarInterface->Release();
m_pTaskbarInterface = 0;
m_isEnabled = false;