Skip to content

Commit

Permalink
cleanup whitespaces
Browse files Browse the repository at this point in the history
Signed-off-by: James Knight <[email protected]>
  • Loading branch information
jdknight committed Feb 18, 2024
1 parent bbfd0c4 commit 627a18f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/capsblock/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
// create a hook to listen for keyboard events
HHOOK hook = SetWindowsHookEx(
WH_KEYBOARD_LL, LowLevelKeyboardProc, GetModuleHandle(NULL), 0);
if (!hook) {
if (!hook) {
fprintf(stderr, "unable to create keyboard hook\n");
return 1;
}
return 1;
}

// consume all messages
MSG msg;
Expand Down

0 comments on commit 627a18f

Please sign in to comment.