Cleanup: Fix misc styleguide issues

Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
This commit is contained in:
Sohaib Mohamed 2021-11-04 21:40:39 +02:00 committed by BenBE
parent e64269df2c
commit 21cb1c4d59
4 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ static HandlerResult ColorsPanel_eventHandler(Panel* super, int ch) {
HandlerResult result = IGNORED; HandlerResult result = IGNORED;
int mark; int mark;
switch(ch) { switch (ch) {
case 0x0a: case 0x0a:
case 0x0d: case 0x0d:
case KEY_ENTER: case KEY_ENTER:

View File

@ -44,7 +44,7 @@ int Compat_faccessat(int dirfd,
// Fallback to stat(2)/lstat(2) depending on flags // Fallback to stat(2)/lstat(2) depending on flags
struct stat statinfo; struct stat statinfo;
if(flags) { if (flags) {
ret = lstat(pathname, &statinfo); ret = lstat(pathname, &statinfo);
} else { } else {
ret = stat(pathname, &statinfo); ret = stat(pathname, &statinfo);

View File

@ -35,7 +35,7 @@ static HandlerResult HeaderOptionsPanel_eventHandler(Panel* super, int ch) {
HandlerResult result = IGNORED; HandlerResult result = IGNORED;
int mark; int mark;
switch(ch) { switch (ch) {
case 0x0a: case 0x0a:
case 0x0d: case 0x0d:
case KEY_ENTER: case KEY_ENTER:

View File

@ -135,7 +135,7 @@ void InfoScreen_run(InfoScreen* this) {
continue; continue;
} }
switch(ch) { switch (ch) {
case ERR: case ERR:
continue; continue;
case KEY_F(3): case KEY_F(3):