summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommie Gannert <tommie@gannert.se>2016-08-01 01:19:23 +0100
committerTommie Gannert <tommie@gannert.se>2016-08-03 23:09:15 +0100
commit52f0dd6a36099d238796eccd16410be79325c806 (patch)
tree97189c1558c29d61e73a48927260b7b7e2f2eaaa
parent6d3e9991de8f3299be07c1099e03b5d0568048ad (diff)
Remove an END_COLOR in print_battery_info for OpenBSD.
This was probably a bug since it makes no sense to have here.
-rw-r--r--src/print_battery_info.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/print_battery_info.c b/src/print_battery_info.c
index 9afcca9..d0e69c4 100644
--- a/src/print_battery_info.c
+++ b/src/print_battery_info.c
@@ -224,9 +224,6 @@ void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char
if (status != CS_CHARGING) {
seconds_remaining = apm_info.minutes_left * 60;
}
-
- if (colorful_output)
- END_COLOR;
#elif defined(__NetBSD__)
/*
* Using envsys(4) via sysmon(4).