top: Fix the interactive command 'U'.
authorImre Vadasz <imre@vdsz.com>
Wed, 28 May 2014 20:07:11 +0000 (22:07 +0200)
committerImre Vadasz <imre@vdsz.com>
Wed, 28 May 2014 21:20:04 +0000 (23:20 +0200)
commit6fcde577487867131c179f173622fc1d6d1dbd32
treeae006bf1dbcc64c18fc00958c74bb0733fdcf91c
parent826597b58e4d70a51d4d17e21e7a797cda77666a
top: Fix the interactive command 'U'.

* The gstate->header_text and gstate->get_userid variables need to be
  updated when toggling between displaying of UIDs and usernames.

* Removing the unnecessary HAVE_FORMAT_PROCESS_HEADER checks.
contrib/top/commands.c
contrib/top/top.c