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:
@ -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 "?";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user