From 2604f25b16593ce73ac38982d5a227609b930e9e Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Fri, 18 May 2018 15:32:15 +0200 Subject: [PATCH] Fix indentation Tabs for indentation, spaces for alignment --- components/battery.c | 2 +- config.def.h | 4 ++-- 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)