summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-18 15:32:15 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-18 15:32:15 +0200
commit22298d6bbce574a4db3df15f1b22c1cdb16d1234 (patch)
tree0fb317a8d4d05663fe0960e16a53a0f2cc3397fa
parentfd49e27c785db2b395b2772afab5b12a14930b84 (diff)
Fix indentation
Tabs for indentation, spaces for alignment
-rw-r--r--components/battery.c2
-rw-r--r--config.def.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/battery.c b/components/battery.c
index 152777e..53d94b5 100644
--- a/components/battery.c
+++ b/components/battery.c
@@ -122,7 +122,7 @@
if (load_apm_power_info(&apm_info)) {
return bprintf("%u:%02u", apm_info.minutes_left / 60,
- apm_info.minutes_left % 60);
+ apm_info.minutes_left % 60);
}
return NULL;
diff --git a/config.def.h b/config.def.h
index 82a5df5..495f44f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -16,8 +16,8 @@ static const char unknown_str[] = "n/a";
* NULL on OpenBSD
* battery_state battery charging state battery name (BAT0)
* NULL on OpenBSD
- * battery_remaining battery remaining HH:MM battery name (BAT0)
- * NULL on OpenBSD
+ * battery_remaining battery remaining HH:MM battery name (BAT0)
+ * NULL on OpenBSD
* cpu_perc cpu usage in percent NULL
* cpu_freq cpu frequency in MHz NULL
* datetime date and time format string (%F %T)