summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdocml.c b/mdocml.c
index 0b91061c..0befca5a 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+ /* $Id$ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -232,7 +232,7 @@ parse_leave(struct md_parse *p, int code)
if ( ! mdoc_endparse(p->mdoc))
code = 0;
- if (p->print && (n = mdoc_result(p->mdoc)))
+ if (p->print && (n = mdoc_node(p->mdoc)))
(*p->print)(n);
mdoc_free(p->mdoc);