[BACK]Return to display.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/display.c between version 1.6 and 1.7

version 1.6, 2001/08/24 20:16:35 version 1.7, 2001/09/03 18:08:10
Line 999 
Line 999 
                 /* skip over the K, since it was included by format_k */                  /* skip over the K, since it was included by format_k */
                 p = strecpy(p, thisname+1);                  p = strecpy(p, thisname+1);
             }              }
             else              else if (num > 0)
             {              {
                 p = strecpy(p, itoa(num));                  p = strecpy(p, itoa(num));
                 p = strecpy(p, thisname);                  p = strecpy(p, thisname);
Line 1007 
Line 1007 
         }          }
   
         /* ignore negative numbers, but display corresponding string */          /* ignore negative numbers, but display corresponding string */
         else if (num < 0)          else
         {          {
             p = strecpy(p, thisname);              p = strecpy(p, thisname);
         }          }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7