From 61956b8bf39075c4e8e7365cdf4e410c76e3c276 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Fri, 7 Oct 2016 15:05:15 +0200 Subject: column-utils: add space to improve readability. In tshark the UTF8 arrow overlaps the ports. When pcap file has more than 999 packets the output is no more aligned. Bug: 12502 Change-Id: I07f90bbc0d2f065458bc07b7fde8f6a651951b60 Reviewed-on: https://code.wireshark.org/review/18109 Petri-Dish: Dario Lombardo Reviewed-by: Balint Reczey --- epan/column-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/column-utils.c') diff --git a/epan/column-utils.c b/epan/column-utils.c index 6e0b05956b..1e1f46e86b 100644 --- a/epan/column-utils.c +++ b/epan/column-utils.c @@ -456,7 +456,7 @@ col_append_ports(column_info *cinfo, const gint col, port_type typ, guint16 src, col_snprint_port(buf_src, 32, typ, src); col_snprint_port(buf_dst, 32, typ, dst); - col_append_lstr(cinfo, col, buf_src, UTF8_RIGHTWARDS_ARROW, buf_dst, COL_ADD_LSTR_TERMINATOR); + col_append_lstr(cinfo, col, buf_src, " " UTF8_RIGHTWARDS_ARROW " ", buf_dst, COL_ADD_LSTR_TERMINATOR); } static void -- cgit v1.2.1