summaryrefslogtreecommitdiffstats
path: root/terminal.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-23 15:20:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-23 15:20:51 +0000
commit858ffa5feefe929dcf0dabf5d771106577f1d9e7 (patch)
treec7c60626c127f411298f6b68e1e41c01f8f1df40 /terminal.c
parentaab08c4fa94c384767d1d5da68aa283ced4004bd (diff)
downloadmandoc-858ffa5feefe929dcf0dabf5d771106577f1d9e7.tar.gz
-man printing linked to -Ttree.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index f7bfd301..0dd3bad3 100644
--- a/terminal.c
+++ b/terminal.c
@@ -76,10 +76,14 @@ ascii_alloc(void)
int
-terminal_run(void *arg, const struct mdoc *mdoc)
+terminal_run(void *arg, const struct man *man,
+ const struct mdoc *mdoc)
{
struct termp *p;
+ if (NULL == mdoc)
+ return(1);
+
p = (struct termp *)arg;
if (NULL == p->symtab)