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

Diff for /mandoc/mdoc.c between version 1.264 and 1.265

version 1.264, 2017/05/05 15:17:32 version 1.265, 2017/06/07 20:30:40
Line 278  mdoc_ptext(struct roff_man *mdoc, int line, char *buf,
Line 278  mdoc_ptext(struct roff_man *mdoc, int line, char *buf,
         for (c = buf + offs; c != NULL; c = strchr(c + 1, '.')) {          for (c = buf + offs; c != NULL; c = strchr(c + 1, '.')) {
                 if (c - buf < offs + 2)                  if (c - buf < offs + 2)
                         continue;                          continue;
                 if (end - c < 4)                  if (end - c < 3)
                         break;                          break;
                 if (isalpha((unsigned char)c[-2]) &&                  if (isalpha((unsigned char)c[-2]) &&
                     isalpha((unsigned char)c[-1]) &&                      isalpha((unsigned char)c[-1]) &&

Legend:
Removed from v.1.264  
changed lines
  Added in v.1.265

CVSweb