Skip to content

Commit

Permalink
fixing indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil Nirkhe <nirkhesahil@gmail.com>
  • Loading branch information
stacks13 committed Nov 24, 2023
1 parent 2703b3f commit b45687a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OSXvnc-server/VNCServer.m
Original file line number Diff line number Diff line change
Expand Up @@ -763,10 +763,10 @@ - (void) sendKeyEvent: (CGKeyCode) keyCode down: (BOOL) down modifiers: (CGEvent
}
else {
CGEventRef event;
int specialKeysStartingFrom = 96;
int specialKeysStartingFrom = 96;
if (specialKeysVncSourceRef != NULL && keyCode >= specialKeysStartingFrom){
event = CGEventCreateKeyboardEvent(specialKeysVncSourceRef, keyCode, down);
}else {
}else {
event = CGEventCreateKeyboardEvent(vncSourceRef, keyCode, down);
}

Expand Down

0 comments on commit b45687a

Please sign in to comment.