summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-12 16:01:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-12 16:01:01 +0000
commit60aba25148a5a3280bb5e9816867afa8659b7a81 (patch)
treea8b197dcc64f8e48c5011a13913da0293b35838f /mdoc_term.c
parent2e08684b6f7079837888e14e0a2129df281b31e8 (diff)
downloadmandoc-60aba25148a5a3280bb5e9816867afa8659b7a81.tar.gz
Tiny EOS patch. Back-end cues front-end through flag. Front-end cues output engine with flag.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index b175c784..de9af97e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -337,6 +337,9 @@ print_mdoc_node(DECL_ARGS)
if (termacts[n->tok].post)
(*termacts[n->tok].post)(p, &npair, m, n);
+ if (MDOC_EOS & n->flags)
+ p->flags |= TERMP_SENTENCE;
+
p->offset = offset;
p->rmargin = rmargin;
}