=================================================================== RCS file: /cvs/mandoc/term_ascii.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- mandoc/term_ascii.c 2010/06/30 12:27:55 1.7 +++ mandoc/term_ascii.c 2010/06/30 12:30:36 1.8 @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.7 2010/06/30 12:27:55 kristaps Exp $ */ +/* $Id: term_ascii.c,v 1.8 2010/06/30 12:30:36 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -30,7 +30,7 @@ #include "term.h" #include "main.h" -static size_t ascii_hspan(const struct termp *, +static double ascii_hspan(const struct termp *, const struct roffsu *); static size_t ascii_width(const struct termp *, char); static void ascii_advance(struct termp *, size_t); @@ -146,7 +146,7 @@ ascii_advance(struct termp *p, size_t len) /* ARGSUSED */ -static size_t +static double ascii_hspan(const struct termp *p, const struct roffsu *su) { double r; @@ -180,12 +180,6 @@ ascii_hspan(const struct termp *p, const struct roffsu break; } - /* Explicitly disallow negative values. */ - - if (r < 0.0) - r = 0.0; - - return((size_t)/* LINTED */ - r); + return(r); }