From ee24852e5a28d9649aa68a28fdc8f6df425ea982 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 30 Apr 2002 11:34:54 +0000 Subject: [PATCH] Right-justifying event names instead of left-justifying; easier to read when large numbers are involved and the columns are wide. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@174 --- cachegrind/cg_annotate.in | 2 +- vg_annotate.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in index b09cc34563..1a532ca52d 100644 --- a/cachegrind/cg_annotate.in +++ b/cachegrind/cg_annotate.in @@ -569,7 +569,7 @@ sub print_events ($) my $event_width = length($event); my $col_width = $CC_col_widths->[$i]; my $space = ' ' x ($col_width - $event_width); - print("$event$space "); + print("$space$event "); } } diff --git a/vg_annotate.in b/vg_annotate.in index b09cc34563..1a532ca52d 100644 --- a/vg_annotate.in +++ b/vg_annotate.in @@ -569,7 +569,7 @@ sub print_events ($) my $event_width = length($event); my $col_width = $CC_col_widths->[$i]; my $space = ' ' x ($col_width - $event_width); - print("$event$space "); + print("$space$event "); } } -- 2.47.2