From e6773ba1bf2bf1c2aa7b3b1b8815b556a366419a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 13 Jul 2009 01:00:51 +0000 Subject: fix a trivial pasto that crept into 1.7.23; also submitted upstream --- usr.bin/mandoc/mdoc_validate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/mandoc') diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c index 7bd8321ed8b..106394929ce 100644 --- a/usr.bin/mandoc/mdoc_validate.c +++ b/usr.bin/mandoc/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.23 2009/07/13 00:33:40 schwarze Exp $ */ +/* $Id: mdoc_validate.c,v 1.24 2009/07/13 01:00:50 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -534,7 +534,7 @@ check_text(struct mdoc *mdoc, int line, int pos, const char *p) } if ( ! (MDOC_IGN_ESCAPE & mdoc->pflags)) return(mdoc_perr(mdoc, line, pos, EESCAPE)); - if ( ! mdoc_perr(mdoc, line, pos, EESCAPE)) + if ( ! mdoc_pwarn(mdoc, line, pos, EESCAPE)) return(0); } -- cgit v1.2.3