diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-10 12:03:29 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-10 12:03:29 +0000 |
commit | 0be12c72e2c3f5d55746f1f8b222ec058a0fa10b (patch) | |
tree | 253945ea2e9f939d7d80e0039d89124851301ba3 /man_term.c | |
parent | 876f41fda129a014ca0587ee5be314bcbf7bb683 (diff) | |
download | mandoc-0be12c72e2c3f5d55746f1f8b222ec058a0fa10b.tar.gz |
Noted that -man text decoration is re-set when exiting a macro invocation.
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -876,9 +876,13 @@ print_man_node(DECL_ARGS) if (c && n->child) print_man_body(p, mt, n->child, m); - if (MAN_TEXT != n->type) + if (MAN_TEXT != n->type) { if (termacts[n->tok].post) (*termacts[n->tok].post)(p, mt, n, m); + + /* Reset metafont upon exit from macro. */ + p->metafont = 0; + } } |