diff options
author | rsc <devnull@localhost> | 2005-09-09 23:16:15 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-09-09 23:16:15 +0000 |
commit | 3bd56b04a8bab7208494fd7dc74af5528fc41604 (patch) | |
tree | edf470d36f67c5726bc93f1b4bc185a516b888b9 /src/cmd/draw | |
parent | 94d85bc000866ecb4874e0e5bdcf30de4a84862e (diff) | |
download | plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.gz plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.bz2 plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.zip |
NetBSD-macppc ctype needs uchars.
Diffstat (limited to 'src/cmd/draw')
-rw-r--r-- | src/cmd/draw/gview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/draw/gview.c b/src/cmd/draw/gview.c index 0909449d..855c7b4e 100644 --- a/src/cmd/draw/gview.c +++ b/src/cmd/draw/gview.c @@ -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++) |