summaryrefslogtreecommitdiff
path: root/plugins/ZeroNotification/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZeroNotification/main.c')
-rw-r--r--plugins/ZeroNotification/main.c8
1 files changed, 4 insertions, 4 deletions
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;