diff options
-rw-r--r-- | term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -793,7 +793,7 @@ term_vspan(const struct termp *p, const struct roffsu *su) if (r < 0.0) r = 0.0; - return((size_t)r); + return((size_t)(r + 0.0005)); } size_t @@ -804,5 +804,5 @@ term_hspan(const struct termp *p, const struct roffsu *su) v = (*p->hspan)(p, su); if (v < 0.0) v = 0.0; - return((size_t)v); + return((size_t)(v + 0.0005)); } |