diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-14 17:51:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-14 17:51:15 +0000 |
commit | d687586337f23b878d3678fc908d2c30b540a058 (patch) | |
tree | 4690c1992cd85292996a523727c3307ab8f10c45 /tbl_term.c | |
parent | 98b1f2affc51ab2505cc48390d8ea926eaac9e03 (diff) | |
download | mandoc-d687586337f23b878d3678fc908d2c30b540a058.tar.gz mandoc-d687586337f23b878d3678fc908d2c30b540a058.tar.zst mandoc-d687586337f23b878d3678fc908d2c30b540a058.zip |
improve rounding rules for scaling units
in horizontal orientation in the terminal formatter
Diffstat (limited to 'tbl_term.c')
-rw-r--r-- | tbl_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tbl_term.c,v 1.51 2017/06/13 14:39:13 schwarze Exp $ */ +/* $Id: tbl_term.c,v 1.52 2017/06/14 17:51:15 schwarze Exp $ */ /* * Copyright (c) 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011,2012,2014,2015,2017 Ingo Schwarze <schwarze@openbsd.org> @@ -47,7 +47,7 @@ static void tbl_word(struct termp *, const struct tbl_dat *); static size_t term_tbl_sulen(const struct roffsu *su, void *arg) { - return term_hspan((const struct termp *)arg, su) / 24; + return term_hen((const struct termp *)arg, su); } static size_t |