From 0d3c1e62ca62e820e20a744760c2767cee37d5c9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 1 Dec 2010 13:05:13 +0000 Subject: [PATCH] Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a call to `Dl' or `Bd -literal' or unfilled. --- mdoc_validate.c | 4 ++-- 1 file 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 * @@ -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); } -- 2.47.1