radical re-formatting 1/3: Fix spacing

Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
This commit is contained in:
drkhsh
2022-10-28 00:49:31 +02:00
parent 0696635bcb
commit 2104dc362c
5 changed files with 24 additions and 24 deletions

View File

@ -226,14 +226,14 @@
if (sysctlbyname(BATTERY_STATE, &state, &len, NULL, 0) < 0 || !len)
return NULL;
switch(state) {
case 0:
case 2:
return "+";
case 1:
return "-";
default:
return "?";
switch (state) {
case 0: /* FALLTHROUGH */
case 2:
return "+";
case 1:
return "-";
default:
return "?";
}
}