version 1.155, 2010/06/30 12:27:55 |
version 1.157, 2010/07/02 10:50:50 |
Line 653 term_strlen(const struct termp *p, const char *cp) |
|
Line 653 term_strlen(const struct termp *p, const char *cp) |
|
} |
} |
|
|
|
|
|
/* ARGSUSED */ |
size_t |
size_t |
term_vspan(const struct termp *p, const struct roffsu *su) |
term_vspan(const struct termp *p, const struct roffsu *su) |
{ |
{ |
Line 692 term_vspan(const struct termp *p, const struct roffsu |
|
Line 693 term_vspan(const struct termp *p, const struct roffsu |
|
size_t |
size_t |
term_hspan(const struct termp *p, const struct roffsu *su) |
term_hspan(const struct termp *p, const struct roffsu *su) |
{ |
{ |
|
double v; |
|
|
return((*p->hspan)(p, su)); |
v = ((*p->hspan)(p, su)); |
|
if (v < 0.0) |
|
v = 0.0; |
|
return((size_t) /* LINTED */ |
|
v); |
} |
} |