summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
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);
}