[BACK]Return to man.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man.c between version 1.120 and 1.121

version 1.120, 2013/10/17 20:54:58 version 1.121, 2013/11/10 22:54:40
Line 429  man_ptext(struct man *man, int line, char *buf, int of
Line 429  man_ptext(struct man *man, int line, char *buf, int of
                 return(man_descope(man, line, offs));                  return(man_descope(man, line, offs));
         }          }
   
         /* Pump blank lines directly into the backend. */  
   
         for (i = offs; ' ' == buf[i]; i++)          for (i = offs; ' ' == buf[i]; i++)
                 /* Skip leading whitespace. */ ;                  /* Skip leading whitespace. */ ;
   
           /*
            * Blank lines are ignored right after headings
            * but add a single vertical space elsewhere.
            */
   
         if ('\0' == buf[i]) {          if ('\0' == buf[i]) {
                 /* Allocate a blank entry. */                  /* Allocate a blank entry. */
                 if ( ! man_elem_alloc(man, line, offs, MAN_sp))                  if (MAN_SH != man->last->tok &&
                         return(0);                      MAN_SS != man->last->tok) {
                 man->next = MAN_NEXT_SIBLING;                          if ( ! man_elem_alloc(man, line, offs, MAN_sp))
                                   return(0);
                           man->next = MAN_NEXT_SIBLING;
                   }
                 return(1);                  return(1);
         }          }
   

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.121

CVSweb