summaryrefslogtreecommitdiff
path: root/src/print_battery_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_battery_info.c')
-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).