I found out the problem and fixed it. The patch is attached (it is for
the top.c file)

Paolo
--- procps-orig/procps-3.2.7/top.c	2006-06-25 08:41:48.000000000 +0200
+++ procps/procps-3.2.7/top.c	2007-12-13 20:11:08.000000000 +0100
@@ -3024,9 +3024,10 @@
       snprintf(_z, sizeof(_z), f, ## va);                                    \
       snprintf(cbuf, sizeof(cbuf), "%s%s%s",                                 \
          q->capclr_rowhigh,                                                  \
-         _z,                                                                 \
+         _z+advance,                                                         \
          !(CHKw(q, Show_HIROWS) && 'R' == p->state) ? q->capclr_rownorm : "" \
       );                                                                     \
+      advance=0;                                                             \
       pad += q->len_rowhigh;                                                 \
       if (!(CHKw(q, Show_HIROWS) && 'R' == p->state)) pad += q->len_rownorm; \
    }                                                                         \

Reply via email to