From 8a57208b1d98fbb384e5084816bd36b980fbc7f6 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 26 Aug 2014 20:54:04 +0200 Subject: Bugfix: fix wrong color tags with xmobar fixes #1353 --- src/print_volume.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/print_volume.c b/src/print_volume.c index 493167a..93868e3 100644 --- a/src/print_volume.c +++ b/src/print_volume.c @@ -174,8 +174,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char * out: *outwalk = '\0'; - OUTPUT_FULL_TEXT(buffer); - if (!pbval) END_COLOR; + OUTPUT_FULL_TEXT(buffer); } -- cgit v1.2.3