]> granicus.if.org Git - procps-ng/commit
top: eliminate that 'TOG4_NOFORCE' compile conditional
authorJim Warner <james.warner@comcast.net>
Thu, 8 Sep 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 12 Sep 2022 12:15:28 +0000 (22:15 +1000)
commitd9c45988f7e724353a78ca14260016487b046158
tree5f1979551ae2b005a8a9177e322cb6166e8ace3c
parent9d9993708b1854f7396b978a6d54d6c508e1fd08
top: eliminate that 'TOG4_NOFORCE' compile conditional

When two abreast display was introduce, in that commit
shown below, this #define provision was also added. It
actually was an artifact left from program development
and never made much sense in a real world application.

If activated it would make the '4' toggle appear to be
broken since it would only take affect if a user first
activated individual cpu display (the '1' toggle off).
And there was no error message offered to those users.

So, this questionable #define is now being eliminated.

Reference(s):
. May, 2020 - introduce 2 abreast display
commit 59f5a37a247184b3009af963706ca68198067185

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