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/x11-init.c | |
| parent | 86a1a5e7b30c37ad1d1a169855eb7b94b00d6aec (diff) | |
| download | plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.tar.gz plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.zip | |
I just hate to be pushed around by some @#$%^& machine.
Diffstat (limited to 'src/libdraw/x11-init.c')
| -rw-r--r-- | src/libdraw/x11-init.c | 12 |
1 files changed, 6 insertions, 6 deletions
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) |
