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

Diff for /mandoc/mdoc_validate.c between version 1.201 and 1.203

version 1.201, 2014/01/07 09:10:45 version 1.203, 2014/03/23 11:25:26
Line 36 
Line 36 
   
 #include "mdoc.h"  #include "mdoc.h"
 #include "mandoc.h"  #include "mandoc.h"
   #include "mandoc_aux.h"
 #include "libmdoc.h"  #include "libmdoc.h"
 #include "libmandoc.h"  #include "libmandoc.h"
   
Line 1894  post_hyph(POST_ARGS)
Line 1895  post_hyph(POST_ARGS)
                 if (MDOC_TEXT != nch->type)                  if (MDOC_TEXT != nch->type)
                         continue;                          continue;
                 cp = nch->string;                  cp = nch->string;
                 if (3 > strnlen(cp, 3))                  if ('\0' == *cp)
                         continue;                          continue;
                 while ('\0' != *(++cp))                  while ('\0' != *(++cp))
                         if ('-' == *cp &&                          if ('-' == *cp &&

Legend:
Removed from v.1.201  
changed lines
  Added in v.1.203

CVSweb