[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.7 and 1.8

version 1.7, 2002/02/14 14:24:21 version 1.8, 2003/05/20 03:08:55
Line 18 
Line 18 
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 int  int
 gotobop(f, n)  gotobop(int f, int n)
         int f, n;  
 {  {
         /* the other way... */          /* the other way... */
         if (n < 0)          if (n < 0)
Line 72 
Line 71 
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 int  int
 gotoeop(f, n)  gotoeop(int f, int n)
         int f, n;  
 {  {
         /* the other way... */          /* the other way... */
         if (n < 0)          if (n < 0)
Line 116 
Line 114 
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 int  int
 fillpara(f, n)  fillpara(int f, int n)
         int f, n;  
 {  {
         int      c;             /* current char durring scan            */          int      c;             /* current char durring scan            */
         int      wordlen;       /* length of current word               */          int      wordlen;       /* length of current word               */
Line 238 
Line 235 
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 int  int
 killpara(f, n)  killpara(int f, int n)
         int f, n;  
 {  {
         int     status;         /* returned status of functions */          int     status;         /* returned status of functions */
   
Line 275 
Line 271 
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 int  int
 fillword(f, n)  fillword(int f, int n)
         int f, n;  
 {  {
         char    c;          char    c;
         int     col, i, nce;          int     col, i, nce;
Line 327 
Line 322 
  * Set fill column to n for justify.   * Set fill column to n for justify.
  */   */
 int  int
 setfillcol(f, n)  setfillcol(int f, int n)
         int f, n;  
 {  {
         fillcol = ((f & FFARG) ? n : getcolpos());          fillcol = ((f & FFARG) ? n : getcolpos());
         ewprintf("Fill column set to %d", fillcol);          ewprintf("Fill column set to %d", fillcol);

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