summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/tbl_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mandoc/tbl_data.c')
-rw-r--r--usr.bin/mandoc/tbl_data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/tbl_data.c b/usr.bin/mandoc/tbl_data.c
index 759969a94b2..31ac487da90 100644
--- a/usr.bin/mandoc/tbl_data.c
+++ b/usr.bin/mandoc/tbl_data.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_data.c,v 1.7 2011/01/25 12:16:19 schwarze Exp $ */
+/* $Id: tbl_data.c,v 1.8 2011/01/25 12:24:26 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -186,6 +186,7 @@ newspan(struct tbl_node *tbl, struct tbl_row *rp)
tbl->last_span = dp;
} else {
tbl->last_span = tbl->first_span = dp;
+ tbl->current_span = NULL;
dp->flags |= TBL_SPAN_FIRST;
}