From: Kristaps Dzonsons Date: Wed, 1 Dec 2010 13:05:13 +0000 (+0000) Subject: Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a X-Git-Tag: VERSION_1_10_7~26 X-Git-Url: https://git.cameronkatri.com/mandoc.git/commitdiff_plain/0d3c1e62ca62e820e20a744760c2767cee37d5c9?ds=inline Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a call to `Dl' or `Bd -literal' or unfilled. --- 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); }