summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'action.c')
-rw-r--r--action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.c b/action.c
index 1ffb2993..6fffc687 100644
--- a/action.c
+++ b/action.c
@@ -194,6 +194,7 @@ post_sh(struct mdoc *mdoc)
if (xstrlcats(buf, mdoc->last->child, 64)) {
if (SEC_CUSTOM != (sec = mdoc_atosec(buf)))
mdoc->lastnamed = sec;
+ mdoc->lastsec = sec;
return(1);
}