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-Tag: v2.0.0-pre5~109 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=85aa6d8f2b2ed4ecd4e059eb5bdbf27c9c74920a 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, ", "); } } }