From 21cb1c4d599f1400de40703396210c17bc4acfe9 Mon Sep 17 00:00:00 2001 From: Sohaib Mohamed Date: Thu, 4 Nov 2021 21:40:39 +0200 Subject: [PATCH] Cleanup: Fix misc styleguide issues Signed-off-by: Sohaib Mohamed --- ColorsPanel.c | 2 +- Compat.c | 2 +- HeaderOptionsPanel.c | 2 +- InfoScreen.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ColorsPanel.c b/ColorsPanel.c index 0ea21583..50188f66 100644 --- a/ColorsPanel.c +++ b/ColorsPanel.c @@ -52,7 +52,7 @@ static HandlerResult ColorsPanel_eventHandler(Panel* super, int ch) { HandlerResult result = IGNORED; int mark; - switch(ch) { + switch (ch) { case 0x0a: case 0x0d: case KEY_ENTER: diff --git a/Compat.c b/Compat.c index 2d06c481..8c881381 100644 --- a/Compat.c +++ b/Compat.c @@ -44,7 +44,7 @@ int Compat_faccessat(int dirfd, // Fallback to stat(2)/lstat(2) depending on flags struct stat statinfo; - if(flags) { + if (flags) { ret = lstat(pathname, &statinfo); } else { ret = stat(pathname, &statinfo); diff --git a/HeaderOptionsPanel.c b/HeaderOptionsPanel.c index d8148dfe..22bcd09c 100644 --- a/HeaderOptionsPanel.c +++ b/HeaderOptionsPanel.c @@ -35,7 +35,7 @@ static HandlerResult HeaderOptionsPanel_eventHandler(Panel* super, int ch) { HandlerResult result = IGNORED; int mark; - switch(ch) { + switch (ch) { case 0x0a: case 0x0d: case KEY_ENTER: diff --git a/InfoScreen.c b/InfoScreen.c index a62b7c0d..f431f799 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -135,7 +135,7 @@ void InfoScreen_run(InfoScreen* this) { continue; } - switch(ch) { + switch (ch) { case ERR: continue; case KEY_F(3):