diff --git a/top/top.c b/top/top.c index c17d93fc..97fc5fc6 100644 --- a/top/top.c +++ b/top/top.c @@ -4613,10 +4613,10 @@ static const char *task_show (const WIN_t *q, const proc_t *p) { for (x = 0; x < q->maxpflgs; x++) { const char *cp; FLG_t i = q->procflgs[x]; - #define S Fieldstab[i].scale - #define W Fieldstab[i].width - #define Js CHKw(q, Show_JRSTRS) - #define Jn CHKw(q, Show_JRNUMS) + #define S Fieldstab[i].scale // these used to be variables + #define W Fieldstab[i].width // but it's much better if we + #define Js CHKw(q, Show_JRSTRS) // represent them as #defines + #define Jn CHKw(q, Show_JRNUMS) // and only exec code if used switch (i) { #ifndef USE_X_COLHDR diff --git a/top/top.h b/top/top.h index 7ee38e8f..8182a56b 100644 --- a/top/top.h +++ b/top/top.h @@ -50,7 +50,7 @@ //#define TERMIO_PROXY /* true line editing, beyond native input */ //#define TREE_NORESET /* sort keys do NOT force forest view OFF */ //#define USE_X_COLHDR /* emphasize header vs. whole col, for 'x' */ -//#define VALIDATE_NLS /* validate integrity of all 3 nls tables */ +//#define VALIDATE_NLS /* validate the integrity of all nls tbls */ /*###### Notes, etc. ###################################################*/