]> git.sur5r.net Git - i3/i3status/commitdiff
Remove an END_COLOR in print_battery_info for OpenBSD.
authorTommie Gannert <tommie@gannert.se>
Mon, 1 Aug 2016 00:19:23 +0000 (01:19 +0100)
committerTommie Gannert <tommie@gannert.se>
Wed, 3 Aug 2016 22:09:15 +0000 (23:09 +0100)
This was probably a bug since it makes no sense to have here.

src/print_battery_info.c

index 9afcca9ff9d0b871c53565b5b4f0eb31f92b8a5c..d0e69c41b2344a4adb83e18fd512b8dcbd0d4941 100644 (file)
@@ -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).