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;
int mark;
switch(ch) {
switch (ch) {
case 0x0a:
case 0x0d:
case KEY_ENTER:

View File

@ -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);

View File

@ -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:

View File

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