aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tree.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:18:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:18:15 +0000
commitdfc3c322d2d9553a0f7c08a28a772b13beec5e7f (patch)
tree9f45d0bb1130a5791c96e9accdc1069bd14bc4d3 /tree.c
parent7e1515051811beb532cd49dfdf82f778dde90e81 (diff)
downloadmandoc-dfc3c322d2d9553a0f7c08a28a772b13beec5e7f.tar.gz
mandoc-dfc3c322d2d9553a0f7c08a28a772b13beec5e7f.tar.zst
mandoc-dfc3c322d2d9553a0f7c08a28a772b13beec5e7f.zip
Allow -man to process EQN as well. Also fix a segfault in missing case
statements in the post-handler for EQN in -mdoc and -man.
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index fd2e6268..21bd8daf 100644
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/* $Id: tree.c,v 1.35 2011/02/09 09:05:52 kristaps Exp $ */
+/* $Id: tree.c,v 1.36 2011/02/09 09:18:15 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -233,7 +233,7 @@ print_man(const struct man_node *n, int indent)
case (MAN_TBL):
break;
case (MAN_EQN):
- p = "eqn";
+ p = n->eqn->data;
break;
default:
abort();