summaryrefslogtreecommitdiffstats
path: root/mdoc_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 96945c4f..660f1fff 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -538,7 +538,8 @@ post_bl_tagwidth(struct mdoc *m)
* width if a macro.
*/
- if ((n = m->last->body->child)) {
+ n = m->last->body->child;
+ if (n) {
assert(MDOC_BLOCK == n->type);
assert(MDOC_It == n->tok);
n = n->head->child;