Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Mar 28, 2024
1 parent d45b9a6 commit cc0aea0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions input_source.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ void EnableInputSource(void) {

void SelectInputSource(void) {
int enabled_input_modes = GetEnabledInputModes();
int input_modes_to_select =
((enabled_input_modes & DEFAULT_INPUT_MODE) != 0)
? DEFAULT_INPUT_MODE : enabled_input_modes;
int input_modes_to_select = ((enabled_input_modes & DEFAULT_INPUT_MODE) != 0)
? DEFAULT_INPUT_MODE
: enabled_input_modes;
if (!input_modes_to_select) {
NSLog(@"No enabled input sources.");
return;
Expand Down

0 comments on commit cc0aea0

Please sign in to comment.