From 6ba9eb829a0b95bf9e6c6bdc9ed37d1d3947b87b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 7 Jul 2012 07:42:40 +0000 Subject: correct mir_free usage git-svn-id: http://svn.miranda-ng.org/main/trunk@808 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/modern_clistmod.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_modern/modern_clistmod.cpp') 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. -- cgit v1.2.3