diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 13:05:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 13:05:13 +0000 |
commit | 0d3c1e62ca62e820e20a744760c2767cee37d5c9 (patch) | |
tree | 057d590e05a3095fa7d7c964eb8b8cf2949244e9 | |
parent | 1c61a1b1241d9362e411865da7ea7cd895d7cc2f (diff) | |
download | mandoc-0d3c1e62ca62e820e20a744760c2767cee37d5c9.tar.gz mandoc-0d3c1e62ca62e820e20a744760c2767cee37d5c9.tar.zst mandoc-0d3c1e62ca62e820e20a744760c2767cee37d5c9.zip |
Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a
call to `Dl' or `Bd -literal' or unfilled.
-rw-r--r-- | mdoc_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 53c4ab5a..c5dd3934 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.133 2010/11/30 14:27:37 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.134 2010/12/01 13:05:13 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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); } |