From 764975e66af575d38983d53cba2e656f3f08fa84 Mon Sep 17 00:00:00 2001 From: brunoais Date: Sat, 17 Apr 2021 18:23:23 +0100 Subject: [PATCH] Fix syntax to follow the rules --- app/src/input_manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/input_manager.c b/app/src/input_manager.c index 3e71ece716..b8950044c9 100644 --- a/app/src/input_manager.c +++ b/app/src/input_manager.c @@ -408,10 +408,10 @@ input_manager_process_key(struct input_manager *im, static Uint16 lastMod = -1; static int repeatCount = 0; - if(down && keycode == lastKeycode && event->keysym.mod == lastMod){ + if (down && keycode == lastKeycode && event->keysym.mod == lastMod) { repeatCount++; LOGD("Repeat %d -> %d", keycode, repeatCount); - } else if(down) { + } else if (down) { repeatCount = 0; lastKeycode = keycode; lastMod = event->keysym.mod; @@ -522,7 +522,7 @@ input_manager_process_key(struct input_manager *im, if (control && !repeat && down) { if (shift) { collapse_panels(controller); - } else if(repeatCount == 0) { + } else if (repeatCount == 0) { expand_notification_panel(controller); } else { expand_settings_panel(controller);