From dfc3c322d2d9553a0f7c08a28a772b13beec5e7f Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 9 Feb 2011 09:18:15 +0000 Subject: 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. --- tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tree.c') 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 * @@ -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(); -- cgit v1.2.3