From e4cadfc1e763d1c4e4cf6b77175ae0ea6ce99b98 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 23 May 2022 13:38:39 +0100 Subject: [PATCH] Put visual divider pipe characters between the column headings in statistics. --- player.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/player.c b/player.c index c7603946..9144030f 100644 --- a/player.c +++ b/player.c @@ -1586,8 +1586,12 @@ int ap2_buffered_nodelay_stream_statistics_print_profile[] = {0, 0, 0, 0, 0, 0, void statistics_item(const char *heading, const char *format, ...) { if (((statistics_print_profile[statistics_column] == 1) && (debuglev != 0)) || (statistics_print_profile[statistics_column] == 2)) { // include this column? - if (was_a_previous_column != 0) - strcat(line_of_stats, " "); + if (was_a_previous_column != 0) { + if (statistics_row == 0) + strcat(line_of_stats, " | "); + else + strcat(line_of_stats, " "); + } if (statistics_row == 0) { strcat(line_of_stats, heading); } else {