=================================================================== RCS file: /cvs/mandoc/man_validate.c,v retrieving revision 1.47 retrieving revision 1.49 diff -u -p -r1.47 -r1.49 --- mandoc/man_validate.c 2010/07/22 23:03:15 1.47 +++ mandoc/man_validate.c 2010/08/20 01:02:07 1.49 @@ -1,6 +1,6 @@ -/* $Id: man_validate.c,v 1.47 2010/07/22 23:03:15 kristaps Exp $ */ +/* $Id: man_validate.c,v 1.49 2010/08/20 01:02:07 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -233,12 +233,8 @@ check_text(CHKARGS) if (c) { p += c - 1; pos += c - 1; - continue; - } - - c = man_pmsg(m, n->line, pos, MANDOCERR_BADESCAPE); - if ( ! (MAN_IGN_ESCAPE & m->pflags) && ! c) - return(c); + } else + man_pmsg(m, n->line, pos, MANDOCERR_BADESCAPE); } return(1);