From 66611c2a2aece81705e614fe7d87b9abe3495b7c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 3 Jul 2011 22:57:32 +0000 Subject: Fix a TODO noted by schwarze@, originally by Christian Weisgerber: literal mode (`nf') is ended by SH (and, it turns out, SS as well). Noted the updated behaviour in man.7 as well. --- man_term.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index 7bff3542..4a77eb5f 100644 --- a/man_term.c +++ b/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.112 2011/06/29 15:38:09 kristaps Exp $ */ +/* $Id: man_term.c,v 1.113 2011/07/03 22:57:32 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze @@ -709,6 +709,7 @@ pre_SS(DECL_ARGS) switch (n->type) { case (MAN_BLOCK): + mt->fl &= ~MANT_LITERAL; mt->lmargin = term_len(p, INDENT); mt->offset = term_len(p, INDENT); /* If following a prior empty `SS', no vspace. */ @@ -759,6 +760,7 @@ pre_SH(DECL_ARGS) switch (n->type) { case (MAN_BLOCK): + mt->fl &= ~MANT_LITERAL; mt->lmargin = term_len(p, INDENT); mt->offset = term_len(p, INDENT); /* If following a prior empty `SH', no vspace. */ -- cgit v1.2.3