version 1.31, 2009/10/18 11:14:04 |
version 1.32, 2009/10/18 19:03:37 |
|
|
a2width(const char *p, struct roffsu *su) |
a2width(const char *p, struct roffsu *su) |
{ |
{ |
|
|
if (a2roffsu(p, su)) |
if ( ! a2roffsu(p, su, SCALE_MAX)) { |
return; |
su->unit = SCALE_EM; |
su->unit = SCALE_EM; |
su->scale = (int)strlen(p); |
su->scale = (int)strlen(p); |
} |
} |
} |
|
|
|
|
Line 351 a2offs(const char *p, struct roffsu *su) |
|
Line 351 a2offs(const char *p, struct roffsu *su) |
|
SCALE_HS_INIT(su, INDENT); |
SCALE_HS_INIT(su, INDENT); |
else if (0 == strcmp(p, "indent-two")) |
else if (0 == strcmp(p, "indent-two")) |
SCALE_HS_INIT(su, INDENT * 2); |
SCALE_HS_INIT(su, INDENT * 2); |
else if ( ! a2roffsu(p, su)) { |
else if ( ! a2roffsu(p, su, SCALE_MAX)) { |
su->unit = SCALE_EM; |
su->unit = SCALE_EM; |
su->scale = (int)strlen(p); |
su->scale = (int)strlen(p); |
} |
} |