summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/roff.c b/roff.c
index ca0f85a4..4ab928c5 100644
--- a/roff.c
+++ b/roff.c
@@ -1022,6 +1022,7 @@ roff_node_append(struct roff_man *man, struct roff_node *n)
/* NOTREACHED */
}
n->parent->nchild++;
+ n->parent->last = n;
/*
* Copy over the normalised-data pointer of our parent. Not