perf top browser: Fix up line width calculation
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 1 Sep 2011 15:57:19 +0000 (12:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2011 19:41:37 +0000 (16:41 -0300)
commiteb489008312c848dce8ff76282b8e65c530c2e26
treeada7ff5f45dc9387d5cdf3df00333dc61ad158d6
parent7a6f205d623afaf05aee387aa6bc57fa43421061
perf top browser: Fix up line width calculation

Fixing an artifact where the last 3 chars of a long DSO name would
remain on the screen sometimes.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-dkiakcl3z69dh1bt9uegaktv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browsers/top.c