summaryrefslogtreecommitdiffstatshomepage
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/terminal.c b/terminal.c
index d007e833..f4d7cd2a 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1,4 +1,4 @@
-/* $Id: terminal.c,v 1.6 2009/03/22 19:10:48 kristaps Exp $ */
+/* $Id: terminal.c,v 1.7 2009/03/23 15:20:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -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)