summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:05:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:05:52 +0000
commit31585348ea96dc3d531dd9a8fdbea4ad5ce4b927 (patch)
tree5ec5f6dd3a3a8484263747c3ea413fb5e90adf13 /tree.c
parent39f12eb291ae2c50f721965715032dae57e1162e (diff)
downloadmandoc-31585348ea96dc3d531dd9a8fdbea4ad5ce4b927.tar.gz
Allow EQN data to be pushed down into libmdoc via mdoc_addeqn(). Only
the adding itself is implemented; equation data is not yet shown.
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index 3b6aa0a8..c88d5eb6 100644
--- a/tree.c
+++ b/tree.c
@@ -132,7 +132,7 @@ print_mdoc(const struct mdoc_node *n, int indent)
case (MDOC_TBL):
break;
case (MDOC_EQN):
- p = "eqn";
+ p = n->eqn->data;
break;
case (MDOC_ROOT):
p = "root";