]> granicus.if.org Git - procps-ng/commit
top: fix a regression associated with USE_X_COLHDR
authorJim Warner <james.warner@comcast.net>
Wed, 29 Feb 2012 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@enc.com.au>
Fri, 2 Mar 2012 10:29:26 +0000 (21:29 +1100)
commit488aa10d33de555f8adebed500832846d5906ab6
treedb9803c49c95ab97b0113922f2fc2b17cf4d340a
parent42fe8a9f395be9e6783093ba0510ddb047f0076f
top: fix a regression associated with USE_X_COLHDR

When sort column header emphasis was extended to a
monochrome screen, the ability to emphasize selections
on the Fields Management screen was lost when colors
were not being displayed.

This patch corrects that bug by using the capclr_hdr
terminfo string instead of capclr_msg.

Reference:
commit 0c6aa6af4190be60853acced8023470c3d1910c1

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c