=================================================================== RCS file: /cvs/mandoc/man_validate.c,v retrieving revision 1.34 retrieving revision 1.36 diff -u -p -r1.34 -r1.36 --- mandoc/man_validate.c 2010/04/03 14:12:48 1.34 +++ mandoc/man_validate.c 2010/05/14 16:19:26 1.36 @@ -1,4 +1,4 @@ -/* $Id: man_validate.c,v 1.34 2010/04/03 14:12:48 kristaps Exp $ */ +/* $Id: man_validate.c,v 1.36 2010/05/14 16:19:26 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -94,7 +94,7 @@ static const struct man_valid man_valids[MAN_MAX] = { { NULL, NULL }, /* DT */ { NULL, NULL }, /* UC */ { NULL, NULL }, /* PD */ - { NULL, posts_eq0 }, /* Sp */ + { NULL, posts_le1 }, /* Sp */ { pres_bline, posts_le1 }, /* Vb */ { pres_bline, posts_eq0 }, /* Ve */ { pres_roff, NULL }, /* de */ @@ -229,9 +229,7 @@ check_text(CHKARGS) if ('\t' == *p || isprint((u_char)*p)) continue; - if (MAN_IGN_CHARS & m->pflags) - return(man_pwarn(m, n->line, pos, WNPRINT)); - return(man_perr(m, n->line, pos, WNPRINT)); + return(man_pwarn(m, n->line, pos, WNPRINT)); } return(1);