diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:18:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:18:15 +0000 |
commit | dfc3c322d2d9553a0f7c08a28a772b13beec5e7f (patch) | |
tree | 9f45d0bb1130a5791c96e9accdc1069bd14bc4d3 /tree.c | |
parent | 7e1515051811beb532cd49dfdf82f778dde90e81 (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |