]> granicus.if.org Git - procps-ng/commit
top: adjust some parenthesis for correct '^N' behavior
authorJim Warner <james.warner@comcast.net>
Thu, 16 Jun 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 20 Jun 2022 09:18:02 +0000 (19:18 +1000)
commit3c7f8199f78e57046c33dd86759d51b4a9e54160
tree8295b9cac3a9c2d8894df5568b86d672324ad321
parentdaaf634eb3230965b8e0d44f8b09dd209969b1fc
top: adjust some parenthesis for correct '^N' behavior

Some kdeinit tasks have a large environment consisting
mostly of nulls which were then followed by one or two
printable characters. Such strange environments should
not be shown with that 'not applicable' (n/a) notation
even though that first string vector is equal to '\0'.

I thought I had covered such a contingency but, due to
a misplaced right parenthesis, that '^N' bottom window
could see 'n/a' + a bunch of spaces + printable stuff.

Well, that won't happen anymore with this tiny change.

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