top: some isolated typos and minor code changes

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2012-03-08 00:00:00 -06:00 committed by Craig Small
parent 29b62a1482
commit 397810a67f
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
.ig
. manual page for NEW and IMPROVED linux top
.
. Copyright (c) 2002-2011, by: James C. Warner
. Copyright (c) 2002-2012, by: James C. Warner
. All rights reserved. 8921 Hilloway Road
. Eden Prairie, Minnesota 55347 USA
.
@ -1644,7 +1644,7 @@ With invaluable help from:
\-*-
.PD
.in -3
Copyright (c) 2002,2011 \*(Em James C. Warner
Copyright (c) 2002,2012 \*(Em James C. Warner
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or

View File

@ -2207,7 +2207,7 @@ static int config_cvt (WIN_t *q) {
#ifdef OOMEM_ENABLE
/* all other fields represent the 'on' state with a capitalized version
of a particular qwerty key. for the 2 additional suse out-of-memory
fields it make perfect sense to do the exact opposite, doesn't it?
fields it makes perfect sense to do the exact opposite, doesn't it?
in any case, we must turn them 'off' temporarily... */
if ((p1 = strchr(q->rc.fieldscur, '['))) *p1 = '{';
if ((p2 = strchr(q->rc.fieldscur, '\\'))) *p2 = '|';
@ -2810,7 +2810,7 @@ static void file_writerc (void) {
fprintf(fp, "%s\tfieldscur=%s\n"
, Winstk[i].rc.winname, Winstk[i].rc.fieldscur);
fprintf(fp, "\twinflags=%d, sortindx=%d, maxtasks=%d\n"
, Winstk[i].rc.winflags, (int)Winstk[i].rc.sortindx
, Winstk[i].rc.winflags, Winstk[i].rc.sortindx
, Winstk[i].rc.maxtasks);
fprintf(fp, "\tsummclr=%d, msgsclr=%d, headclr=%d, taskclr=%d\n"
, Winstk[i].rc.summclr, Winstk[i].rc.msgsclr