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

Diff for /src/usr.bin/mg/paragraph.c between version 1.17 and 1.18

version 1.17, 2008/09/15 16:13:35 version 1.18, 2009/06/02 21:55:25
Line 336 
Line 336 
 {  {
         char buf[32], *rep;          char buf[32], *rep;
         const char *es;          const char *es;
           int nfill;
   
         if ((f & FFARG) != 0) {          if ((f & FFARG) != 0) {
                 fillcol = n;                  fillcol = n;
Line 345 
Line 346 
                         return (ABORT);                          return (ABORT);
                 else if (rep[0] == '\0')                  else if (rep[0] == '\0')
                         return (FALSE);                          return (FALSE);
                 fillcol = strtonum(rep, 0, INT_MAX, &es);                  nfill = strtonum(rep, 0, INT_MAX, &es);
                 if (es != NULL)                  if (es != NULL) {
                           ewprintf("Invalid fill column: %s", rep);
                         return (FALSE);                          return (FALSE);
                   }
                   fillcol = nfill;
                 ewprintf("Fill column set to %d", fillcol);                  ewprintf("Fill column set to %d", fillcol);
         }          }
         return (TRUE);          return (TRUE);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18