NetBSD-macppc ctype needs uchars.
This commit is contained in:
parent
94d85bc000
commit
3bd56b04a8
22 changed files with 55 additions and 56 deletions
|
|
@ -67,7 +67,7 @@ int remove_substr(char* smain, char* ssub)
|
|||
int n = strlen(ssub);
|
||||
if (s==0)
|
||||
return 0;
|
||||
if (islower(s[n]))
|
||||
if (islower((uchar)s[n]))
|
||||
s[0] ^= 32; /* probably tolower(s[0]) or toupper(s[0]) */
|
||||
else {
|
||||
for (ss=s+n; *ss!=0; s++, ss++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue