summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)