summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 8615ad46..99c2e359 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -806,6 +806,8 @@ pre_sh(PRE_ARGS)
if (MDOC_BLOCK != n->type)
return(1);
+
+ mdoc->regs->regs[(int)REG_nS].set = 0;
return(check_parent(mdoc, n, MDOC_MAX, MDOC_ROOT));
}