version 1.31, 2011/01/08 17:00:27 |
version 1.32, 2011/01/08 17:16:48 |
Line 527 tblcalc_number(struct rofftbl *tbl, struct roffcol *co |
|
Line 527 tblcalc_number(struct rofftbl *tbl, struct roffcol *co |
|
|
|
psz = (*tbl->slen)(buf, tbl->arg); |
psz = (*tbl->slen)(buf, tbl->arg); |
|
|
if (NULL != (cp = strchr(str, tp->decimal))) { |
if (NULL != (cp = strrchr(str, tp->decimal))) { |
buf[1] = '\0'; |
buf[1] = '\0'; |
for (ssz = 0, i = 0; cp != &str[i]; i++) { |
for (ssz = 0, i = 0; cp != &str[i]; i++) { |
buf[0] = str[i]; |
buf[0] = str[i]; |