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 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in
index b09cc34..1a532ca 100644
--- a/cachegrind/cg_annotate.in
+++ b/cachegrind/cg_annotate.in
@@ -569,7 +569,7 @@
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 ");
}
}