summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 14:08:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 14:08:13 +0000
commit40507d223c6573922c1060cde7364f905511b303 (patch)
treecd7eee10e785f4eb80cbe38dac42b814a488a715 /mdoc_term.c
parent29580f6bb757a73803c2045973d9662097988ab1 (diff)
downloadmandoc-40507d223c6573922c1060cde7364f905511b303.tar.gz
Fix height of hard-breaks in -Thtml.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 5fc88bde..72ec9ec4 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1866,7 +1866,7 @@ termp_sp_pre(DECL_ARGS)
{
int i, len;
- switch (node->type) {
+ switch (node->tok) {
case (MDOC_sp):
len = node->child ? atoi(node->child->string) : 1;
break;