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

Diff for /mandoc/mandocdb.c between version 1.29 and 1.30

version 1.29, 2011/12/09 00:49:01 version 1.30, 2011/12/09 01:21:10
Line 1325  pformatted(DB *hash, struct buf *buf, struct buf *dbuf
Line 1325  pformatted(DB *hash, struct buf *buf, struct buf *dbuf
          * bytes).           * bytes).
          */           */
   
         if (NULL != (p = strrchr(line, '-'))) {          if (NULL != (p = strstr(line, "- "))) {
                 for (++p; ' ' == *p || '\b' == *p; p++)                  for (p += 2; ' ' == *p || '\b' == *p; p++)
                         /* Skip to next word. */ ;                          /* Skip to next word. */ ;
         } else          } else
                 p = line;                  p = line;

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

CVSweb