aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--man_macro.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/man_macro.c b/man_macro.c
index a08adf62..7fd51c56 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -1,4 +1,4 @@
-/* $Id: man_macro.c,v 1.66 2011/11/07 01:24:40 schwarze Exp $ */
+/* $Id: man_macro.c,v 1.67 2011/11/18 16:39:08 joerg Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -120,7 +120,8 @@ man_unscope(struct man *m, const struct man_node *to,
assert(to);
- assert(MAN_ROOT != m->last->type);
+ if (MAN_ROOT != m->last->type)
+ return(0);
m->next = MAN_NEXT_SIBLING;
/* LINTED */