aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'roff_term.c')
-rw-r--r--roff_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roff_term.c b/roff_term.c
index bfcb2d0f..db59db08 100644
--- a/roff_term.c
+++ b/roff_term.c
@@ -1,4 +1,4 @@
-/* $Id: roff_term.c,v 1.11 2017/06/14 13:00:31 schwarze Exp $ */
+/* $Id: roff_term.c,v 1.12 2017/06/14 17:51:15 schwarze Exp $ */
/*
* Copyright (c) 2010, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -205,7 +205,7 @@ roff_term_pre_ti(ROFF_TERM_ARGS)
if (a2roffsu(cp, &su, SCALE_EM) == NULL)
return;
- len = term_hspan(p, &su) / 24;
+ len = term_hen(p, &su);
if (sign == 0) {
p->ti = len - p->tcol->offset;