[NTUSER] defwnd.c: Trivial formatting fixes (#7038)

And (re)move 2 'break;'.
This commit is contained in:
Serge Gautherie 2020-06-14 13:49:22 +02:00 committed by Hermès Bélusca-Maïto
parent 69b382a1ac
commit 5385f32794
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -189,6 +189,7 @@ DefWndHandleSysCommand(PWND pWnd, WPARAM wParam, LPARAM lParam)
} }
} }
break; break;
// case SC_DEFAULT: // case SC_DEFAULT:
case SC_MOUSEMENU: case SC_MOUSEMENU:
{ {
@ -203,7 +204,6 @@ DefWndHandleSysCommand(PWND pWnd, WPARAM wParam, LPARAM lParam)
MENU_TrackKbdMenuBar(pWnd, wParam, (WCHAR)lParam); MENU_TrackKbdMenuBar(pWnd, wParam, (WCHAR)lParam);
break; break;
default: default:
// We do not support anything else here so we should return normal even when sending a hook. // We do not support anything else here so we should return normal even when sending a hook.
return 0; return 0;
@ -1286,12 +1286,12 @@ IntDefWindowProc(
} }
if (!lResult) if (!lResult)
lResult = co_HOOK_CallHooks(WH_CBT, HCBT_MOVESIZE, (WPARAM)UserHMGetHandle(Wnd), lParam ? (LPARAM)&rt : 0); lResult = co_HOOK_CallHooks(WH_CBT, HCBT_MOVESIZE, (WPARAM)UserHMGetHandle(Wnd), lParam ? (LPARAM)&rt : 0);
break;
}
} }
break; break;
} }
break;
}
break;
} }
return lResult; return lResult;
} }