summaryrefslogtreecommitdiffstats
path: root/man_macro.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@netbsd.org>2011-11-18 16:43:29 +0000
committerJoerg Sonnenberger <joerg@netbsd.org>2011-11-18 16:43:29 +0000
commit6305e2fccbe1b3704fb25243dd15a78ad17b36b1 (patch)
tree54a49e19d9568017556f8347780c02538af048d3 /man_macro.c
parentb4266fed6f78aed41fddd99ce60e3af6f4a5621c (diff)
downloadmandoc-6305e2fccbe1b3704fb25243dd15a78ad17b36b1.tar.gz
Slightly adjust last: return successful as some times the correct error
is raised later.
Diffstat (limited to 'man_macro.c')
-rw-r--r--man_macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_macro.c b/man_macro.c
index 7a9d33b9..6b660b25 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -121,7 +121,7 @@ man_unscope(struct man *m, const struct man_node *to,
assert(to);
if (MAN_ROOT != m->last->type)
- return(0);
+ return(1);
m->next = MAN_NEXT_SIBLING;
/* LINTED */