summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-13 01:00:51 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-13 01:00:51 +0000
commite6773ba1bf2bf1c2aa7b3b1b8815b556a366419a (patch)
tree61c88fc9456925544effaad89e3d4f22066123a0 /usr.bin/mandoc
parent6e130b48277b6fb643fe674a8bcb73842a0130d1 (diff)
fix a trivial pasto that crept into 1.7.23; also submitted upstream
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/mdoc_validate.c4
1 files changed, 2 insertions, 2 deletions
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 <kristaps@kth.se>
*
@@ -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);
}