summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2014-08-26 20:54:04 +0200
committerMichael Stapelberg <michael@stapelberg.de>2014-08-26 20:54:04 +0200
commit8a57208b1d98fbb384e5084816bd36b980fbc7f6 (patch)
tree54b84e53c95ca69b6df51f2e492328fba12b7987 /src
parentfcd95c24085c985f365d8d5283bccd003084f39d (diff)
Bugfix: fix wrong color tags with xmobar
fixes #1353
Diffstat (limited to 'src')
-rw-r--r--src/print_volume.c3
1 files changed, 1 insertions, 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);
}