From 52f0dd6a36099d238796eccd16410be79325c806 Mon Sep 17 00:00:00 2001 From: Tommie Gannert Date: Mon, 1 Aug 2016 01:19:23 +0100 Subject: [PATCH] Remove an END_COLOR in print_battery_info for OpenBSD. This was probably a bug since it makes no sense to have here. --- src/print_battery_info.c | 3 --- 1 file changed, 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). -- 2.39.5