diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-23 15:20:51 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-23 15:20:51 +0000 |
commit | 858ffa5feefe929dcf0dabf5d771106577f1d9e7 (patch) | |
tree | c7c60626c127f411298f6b68e1e41c01f8f1df40 /terminal.c | |
parent | aab08c4fa94c384767d1d5da68aa283ced4004bd (diff) | |
download | mandoc-858ffa5feefe929dcf0dabf5d771106577f1d9e7.tar.gz |
-man printing linked to -Ttree.
Diffstat (limited to 'terminal.c')
-rw-r--r-- | terminal.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |