summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSohaib Mohamed <sohaib.amhmd@gmail.com>2021-11-04 21:40:39 +0200
committerBenBE <BenBE@geshi.org>2021-11-04 23:13:38 +0100
commit21cb1c4d599f1400de40703396210c17bc4acfe9 (patch)
treedc287b3e4e0b637a1780b4d5b20349ba897da7e3
parente64269df2cf4567c22005d0321028b85a78447a7 (diff)
Cleanup: Fix misc styleguide issues
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
-rw-r--r--ColorsPanel.c2
-rw-r--r--Compat.c2
-rw-r--r--HeaderOptionsPanel.c2
-rw-r--r--InfoScreen.c2
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):

© 2014-2024 Faster IT GmbH | imprint | privacy policy