summaryrefslogtreecommitdiffstats
path: root/macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macro.c b/macro.c
index c1dedefa..e1de6b53 100644
--- a/macro.c
+++ b/macro.c
@@ -238,7 +238,7 @@ scopewarn(struct mdoc *mdoc, enum mdoc_type type,
n = t = "<root>";
tt = "block";
- switch (p->type) {
+ switch (type) {
case (MDOC_BODY):
tt = "multi-line";
break;