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

Diff for /src/usr.bin/less/line.c between version 1.5 and 1.6

version 1.5, 2003/04/13 18:26:26 version 1.6, 2003/06/18 18:39:52
Line 169 
Line 169 
                 n = strlen(buf);                  n = strlen(buf);
                 if (n < MIN_LINENUM_WIDTH)                  if (n < MIN_LINENUM_WIDTH)
                         n = MIN_LINENUM_WIDTH;                          n = MIN_LINENUM_WIDTH;
                 snprintf(linebuf+curr, sizeof(linebuf)-curr, "%*s ", n, buf);                  snprintf(linebuf+curr, size_linebuf-curr, "%*s ", n, buf);
                 n++;  /* One space after the line number. */                  n++;  /* One space after the line number. */
                 for (i = 0; i < n; i++)                  for (i = 0; i < n; i++)
                         attr[curr+i] = AT_NORMAL;                          attr[curr+i] = AT_NORMAL;

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