summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index ed252ba9..f1d39f24 100644
--- a/man_term.c
+++ b/man_term.c
@@ -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;
+ }
}