summaryrefslogtreecommitdiffstats
path: root/darwin/Battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'darwin/Battery.c')
-rw-r--r--darwin/Battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/Battery.c b/darwin/Battery.c
index df644643..854425b3 100644
--- a/darwin/Battery.c
+++ b/darwin/Battery.c
@@ -30,7 +30,7 @@ void Battery_getData(double* level, ACPresence* isOnAC) {
len = CFArrayGetCount(list);
/* Get the battery */
- for(int i = 0; i < len && battery == NULL; ++i) {
+ for (int i = 0; i < len && battery == NULL; ++i) {
CFDictionaryRef candidate = IOPSGetPowerSourceDescription(power_sources,
CFArrayGetValueAtIndex(list, i)); /* GET rule */
CFStringRef type;