summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mandoc-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc-db.c b/mandoc-db.c
index 944ae35c..878791d4 100644
--- a/mandoc-db.c
+++ b/mandoc-db.c
@@ -546,7 +546,7 @@ pmdoc_Vt(MDOC_ARGS)
return;
if (MDOC_Vt == n->tok && MDOC_BODY != n->type)
return;
- if (NULL == n->child || MDOC_TEXT != n->child->type)
+ if (NULL == n->last || MDOC_TEXT != n->last->type)
return;
/*