summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_clistmod.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-07 07:42:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-07 07:42:40 +0000
commit6ba9eb829a0b95bf9e6c6bdc9ed37d1d3947b87b (patch)
tree6d578ae1a68dcc7ab48d38ef9c33605d392d8186 /plugins/Clist_modern/modern_clistmod.cpp
parent3447a9bff3aa6ba3a2d9bab91653cab257c29bcf (diff)
correct mir_free usage
git-svn-id: http://svn.miranda-ng.org/main/trunk@808 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_clistmod.cpp')
-rw-r--r--plugins/Clist_modern/modern_clistmod.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_clistmod.cpp b/plugins/Clist_modern/modern_clistmod.cpp
index 27216b7797..9837c2aeac 100644
--- a/plugins/Clist_modern/modern_clistmod.cpp
+++ b/plugins/Clist_modern/modern_clistmod.cpp
@@ -373,7 +373,7 @@ int GetWindowVisibleState(HWND hWnd, int iStepX, int iStepY) {
BYTE *ptr = NULL;
HRGN rgn = NULL;
WindowImage = g_CluiData.fLayered?ske_GetCurrentWindowImage():0;
- if (WindowImage&&g_CluiData.fLayered)
+ if (WindowImage && g_CluiData.fLayered)
{
GetObject(WindowImage,sizeof(BITMAP),&bmp);
ptr = (BYTE*)bmp.bmBits;
@@ -425,7 +425,7 @@ int GetWindowVisibleState(HWND hWnd, int iStepX, int iStepY) {
a = ((a*g_CluiData.bCurrentAlpha)>>8);
po = (a>16);
}
- if (po||(!rgn&&ptr == 0))
+ if (po || (!rgn && ptr == 0))
{
BOOL hWndFound = FALSE;
HWND hAuxOld = NULL;
@@ -450,7 +450,7 @@ int GetWindowVisibleState(HWND hWnd, int iStepX, int iStepY) {
break;
}
}
- }while(hAux != NULL &&hAuxOld != hAux);
+ }while(hAux != NULL && hAuxOld != hAux);
if (hWndFound) //There's window!
iNotCoveredDots++; //Let's count the not covered dots.