ctype sign fixes (Tom Miller)

This commit is contained in:
rsc 2005-10-31 16:47:30 +00:00
parent 96029e052b
commit a47fbb1641
6 changed files with 7 additions and 6 deletions

View file

@ -23,7 +23,7 @@ gettbl(void)
break;
}
fullbot[nlin] = 0;
if (cstore[0] == '.' && !isdigit(cstore[1])) {
if (cstore[0] == '.' && !isdigit((uchar)cstore[1])) {
instead[nlin] = cstore;
while (*cstore++)
;

View file

@ -29,7 +29,7 @@ domore(char *dataln)
if (prefix(".TE", dataln))
return(0);
if (dataln[0] == '.' && !isdigit(dataln[1])) {
if (dataln[0] == '.' && !isdigit((uchar)dataln[1])) {
Bprint(&tabout, "%s\n", dataln);
return(1);
}