diff options
author | rsc <devnull@localhost> | 2005-07-19 18:00:07 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-19 18:00:07 +0000 |
commit | 1c171e3add096f5fbecceefd19f21a43c08b5509 (patch) | |
tree | e8b4ac09d6909617761c9ad476ff295d0e91d195 /src/libdraw | |
parent | 86a1a5e7b30c37ad1d1a169855eb7b94b00d6aec (diff) | |
download | plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.tar.gz plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.tar.bz2 plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.zip |
I just hate to be pushed around by some @#$%^& machine.
Diffstat (limited to 'src/libdraw')
-rw-r--r-- | src/libdraw/chan.c | 4 | ||||
-rw-r--r-- | src/libdraw/x11-init.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/libdraw/chan.c b/src/libdraw/chan.c index 1677c5b5..5e94b016 100644 --- a/src/libdraw/chan.c +++ b/src/libdraw/chan.c @@ -38,10 +38,10 @@ strtochan(char *s) c = 0; p=s; - while(*p && isspace(*p)) + while(*p && isspace((uchar)*p)) p++; - while(*p && !isspace(*p)){ + while(*p && !isspace((uchar)*p)){ if((q = strchr(channames, p[0])) == nil) return 0; t = q-channames; diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c index 741d3678..537920d2 100644 --- a/src/libdraw/x11-init.c +++ b/src/libdraw/x11-init.c @@ -880,7 +880,7 @@ parsewinsize(char *s, Rectangle *r, int *havemin) i = strtol(s, &s, 0); if(*s == 'x'){ s++; - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; j = strtol(s, &s, 0); r->max.x = i; @@ -891,13 +891,13 @@ parsewinsize(char *s, Rectangle *r, int *havemin) goto oops; s++; - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; i = strtol(s, &s, 0); if(*s != ',' && *s != ' ') goto oops; s++; - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; j = strtol(s, &s, 0); if(*s != 0) @@ -911,19 +911,19 @@ parsewinsize(char *s, Rectangle *r, int *havemin) if(c != ' ' && c != ',') goto oops; s++; - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; j = strtol(s, &s, 0); if(*s != c) goto oops; s++; - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; k = strtol(s, &s, 0); if(*s != c) goto oops; s++; - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; l = strtol(s, &s, 0); if(*s != 0) |