version 1.316, 2015/04/02 23:48:20 |
version 1.318, 2015/04/18 16:06:41 |
Line 251 static const struct termact termacts[MDOC_MAX] = { |
|
Line 251 static const struct termact termacts[MDOC_MAX] = { |
|
|
|
|
|
void |
void |
terminal_mdoc(void *arg, const struct mdoc *mdoc) |
terminal_mdoc(void *arg, const struct roff_man *mdoc) |
{ |
{ |
const struct roff_meta *meta; |
const struct roff_meta *meta; |
struct roff_node *n; |
struct roff_node *n; |
Line 533 a2width(const struct termp *p, const char *v) |
|
Line 533 a2width(const struct termp *p, const char *v) |
|
SCALE_HS_INIT(&su, term_strlen(p, v)); |
SCALE_HS_INIT(&su, term_strlen(p, v)); |
su.scale /= term_strlen(p, "0"); |
su.scale /= term_strlen(p, "0"); |
} |
} |
return(term_hspan(p, &su)); |
return(term_hspan(p, &su) / 24); |
} |
} |
|
|
/* |
/* |