[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.40 and 1.41

version 1.40, 2015/09/26 15:03:15 version 1.41, 2015/10/10 09:13:14
Line 142 
Line 142 
         struct line     *eopline;       /* pointer to line just past EOP        */          struct line     *eopline;       /* pointer to line just past EOP        */
         char     wbuf[MAXWORD]; /* buffer for current word              */          char     wbuf[MAXWORD]; /* buffer for current word              */
   
           if (n == 0)
                   return (TRUE);
   
         undo_boundary_enable(FFRAND, 0);          undo_boundary_enable(FFRAND, 0);
   
         /* record the pointer to the line just past the EOP */          /* record the pointer to the line just past the EOP */
Line 267 
Line 270 
 {  {
         int     lineno, status;          int     lineno, status;
   
           if (n == 0)
                   return (TRUE);
   
         if (findpara() == FALSE)          if (findpara() == FALSE)
                 return (TRUE);                  return (TRUE);
   
Line 298 
Line 304 
 {  {
         int i = 0;          int i = 0;
   
           if (n == 0)
                   return (TRUE);
   
         clearmark(FFARG, 0);          clearmark(FFARG, 0);
   
         if (findpara() == FALSE)          if (findpara() == FALSE)
Line 325 
Line 334 
 {  {
         int     i = 0, status;          int     i = 0, status;
         char    flg;          char    flg;
   
           if (n == 0)
                   return (TRUE);
   
         /* find a paragraph, set mark, then goto the end */          /* find a paragraph, set mark, then goto the end */
         gotobop(FFRAND, 1);          gotobop(FFRAND, 1);

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41