Fixed missing break statement.

This commit is contained in:
2023-11-08 23:37:30 +03:00
parent b855b0d624
commit 251b965073

View File

@@ -390,7 +390,7 @@ LRESULT CALLBACK MouseHookProc(int nCode, WPARAM wParam, LPARAM lParam)
LRESULT CALLBACK KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam) LRESULT CALLBACK KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam)
{ {
LPKBDLLHOOKSTRUCT pkhs = { 0 }; LPKBDLLHOOKSTRUCT pkhs = { 0 };
pkhs = (LPKBDLLHOOKSTRUCT)lParam; pkhs = (LPKBDLLHOOKSTRUCT)lParam;
if (WM_KEYUP == wParam) if (WM_KEYUP == wParam)
{ {
@@ -504,9 +504,10 @@ BOOL CALLBACK DlgProc(HWND hDlg, UINT dlgmsg, WPARAM wParam, LPARAM lParam)
break; break;
} }
} }
break;
} }
return FALSE;
} }
return FALSE;
} }
BOOL IsWindowApprooved(HWND hFW) BOOL IsWindowApprooved(HWND hFW)