From f38c42ff2150c120899f17b23e1894d7de185f8d Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Tue, 20 Dec 2011 15:17:26 -0600 Subject: [PATCH] top: final cleanup following nls conflict resolutions This patch represents the final resting place for miscellaneous changes not otherwise encountered or for which the resolution was incomplete or incorrect. --- top/top.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/top/top.c b/top/top.c index e224dc25..1d9ee5e4 100644 --- a/top/top.c +++ b/top/top.c @@ -1412,7 +1412,7 @@ static void calibrate_fields (void) { f = w->pflgsall[i + w->begpflg]; w->procflgs[i] = f; #ifndef USE_X_COLHDR - if (P_MAXPFLGS < f) continue; + if (P_MAXPFLGS <= f) continue; #endif h = Fieldstab[f].head; // oops, won't fit -- we're outta here... @@ -1463,7 +1463,7 @@ static void calibrate_fields (void) { w->hdrcaplen += strlen(Caps_off) + strlen(w->capclr_msg); } #else - if (P_MAXPFLGS < f) continue; + if (P_MAXPFLGS <= f) continue; #endif h = Fieldstab[f].head; if (P_WCH == f) needpsdb = 1;