From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ZeroNotification/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/ZeroNotification') diff --git a/plugins/ZeroNotification/main.c b/plugins/ZeroNotification/main.c index 556f8ae282..bcbe63159e 100644 --- a/plugins/ZeroNotification/main.c +++ b/plugins/ZeroNotification/main.c @@ -107,14 +107,14 @@ static DWORD MakeCheckBoxTreeFlags(HWND hwndTree) tvi.hItem=TreeView_GetRoot(hwndTree); while(tvi.hItem) { TreeView_GetItem(hwndTree,&tvi); - if(((tvi.state&TVIS_STATEIMAGEMASK)>>12==2)) flags|=tvi.lParam; + if (((tvi.state&TVIS_STATEIMAGEMASK)>>12==2)) flags|=tvi.lParam; tvi.hItem=TreeView_GetNextSibling(hwndTree,tvi.hItem); } return flags; } //Update the name on the menu -static void UpdateMenuItem(){ +static void UpdateMenuItem() { if (DBGetContactSettingByte(NULL,"Skin","UseSound",1)) mi.pszName= Translate(DISABLE_SOUND); else @@ -196,12 +196,12 @@ static INT_PTR CALLBACK DlgProcNoSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam case IDC_NOSOUND: case IDC_NOBLINK: case IDC_NOCLCBLINK: - if(((LPNMHDR)lParam)->code==NM_CLICK) { + if (((LPNMHDR)lParam)->code==NM_CLICK) { TVHITTESTINFO hti; hti.pt.x=(short)LOWORD(GetMessagePos()); hti.pt.y=(short)HIWORD(GetMessagePos()); ScreenToClient(((LPNMHDR)lParam)->hwndFrom,&hti.pt); - if(TreeView_HitTest(((LPNMHDR)lParam)->hwndFrom,&hti)){ + if(TreeView_HitTest(((LPNMHDR)lParam)->hwndFrom,&hti)) { if(hti.flags&TVHT_ONITEMSTATEICON) { TVITEM tvi; tvi.mask=TVIF_HANDLE|TVIF_IMAGE|TVIF_SELECTEDIMAGE; -- cgit v1.2.3