From: Philippe Proulx Date: Wed, 10 Apr 2019 01:22:03 +0000 (-0400) Subject: Fix: pretty/print.c: print comma and space after trace name X-Git-Url: https://git.efficios.com/?a=commitdiff_plain;h=22b7fdc661702dc38860510494c0f6c32850c7cb;p=babeltrace.git Fix: pretty/print.c: print comma and space after trace name Signed-off-by: Philippe Proulx --- diff --git a/plugins/text/pretty/print.c b/plugins/text/pretty/print.c index 2bf13296..914ae4c2 100644 --- a/plugins/text/pretty/print.c +++ b/plugins/text/pretty/print.c @@ -334,8 +334,8 @@ int print_event_header(struct pretty_component *pretty, g_string_append(pretty->string, name); - if (!print_names) { - g_string_append(pretty->string, " "); + if (print_names) { + g_string_append(pretty->string, ", "); } } }