diff options
Diffstat (limited to 'tbl/tm.c')
-rw-r--r-- | tbl/tm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tbl/tm.c b/tbl/tm.c index 41e8141d5f8c0..ecee2d0805d76 100644 --- a/tbl/tm.c +++ b/tbl/tm.c @@ -38,13 +38,13 @@ maknew(char *str) if (ba==0) { for (dpoint=0; *str; str++) { if ((*str&0377)==decimalpoint && !ineqn(str,p) && - ((str>p && digit(*(str-1))) || - digit(*(str+1)))) + ((str>p && isdigit(*(str-1))) || + isdigit(*(str+1)))) dpoint=str; } if (dpoint==0) for(; str>p; str--) { - if (digit( * (str-1) ) && !ineqn(str, p)) + if (isdigit( * (str-1) ) && !ineqn(str, p)) break; } if (!dpoint && p==str) /* not numerical, don't split */ |