Fix highlighting problem in top

Author: Paolo Pantaleo <paolopantaleo@gmail.com>
Bug-Debian: http://bugs.debian.org/351065
This commit is contained in:
Jan Görig 2010-12-16 10:21:47 +01:00
parent 8f466aa21d
commit 0232430bef

3
top.c
View File

@ -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; \
} \