From 0232430befa389a5644f5e581d33264ff98ee48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20G=C3=B6rig?= Date: Thu, 16 Dec 2010 10:21:47 +0100 Subject: [PATCH] Fix highlighting problem in top Author: Paolo Pantaleo Bug-Debian: http://bugs.debian.org/351065 --- top.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/top.c b/top.c index b3f69d76..a7496b60 100644 --- a/top.c +++ b/top.c @@ -3036,9 +3036,10 @@ static proc_t **summary_show (void) snprintf(_z, sizeof(_z), f, ## va); \ snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ q->capclr_rowhigh, \ - _z, \ + _z+advance, \ !(CHKw(q, Show_HIROWS) && 'R' == p->state) ? q->capclr_rownorm : "" \ ); \ + advance=0; \ pad += q->len_rowhigh; \ if (!(CHKw(q, Show_HIROWS) && 'R' == p->state)) pad += q->len_rownorm; \ } \