summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 13:05:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 13:05:13 +0000
commit9a5c8b40af771729cb01c48980c16db57d185583 (patch)
treeb9b25b06cad4ee0031cf279423dc24b61ec09a6a /mdoc_validate.c
parente4affd1448bcff3063a205a0b8ec43596a4e46a3 (diff)
downloadmandoc-9a5c8b40af771729cb01c48980c16db57d185583.tar.gz
Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a
call to `Dl' or `Bd -literal' or unfilled.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 1ef56d9e..912730bb 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1158,7 +1158,7 @@ post_literal(POST_ARGS)
*/
if (MDOC_BODY == mdoc->last->type)
- mdoc->last->flags &= ~MDOC_LITERAL;
+ mdoc->flags &= ~MDOC_LITERAL;
return(1);
}