version 1.300, 2014/12/23 09:31:46 |
version 1.301, 2014/12/23 13:48:57 |
Line 533 a2width(const struct termp *p, const char *v) |
|
Line 533 a2width(const struct termp *p, const char *v) |
|
if (a2roffsu(v, &su, SCALE_MAX) < 2) { |
if (a2roffsu(v, &su, SCALE_MAX) < 2) { |
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"); |
} |
} else if (su.scale < 0.0) |
|
su.scale = 0.0; |
|
|
return(term_hspan(p, &su)); |
return(term_hspan(p, &su)); |
} |
} |