From 85aa6d8f2b2ed4ecd4e059eb5bdbf27c9c74920a Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 9 Apr 2019 21:22:03 -0400 Subject: [PATCH] Fix: pretty/print.c: print comma and space after trace name Signed-off-by: Philippe Proulx --- plugins/text/pretty/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ", "); } } } -- 2.34.1