summaryrefslogtreecommitdiffstats
path: root/src/libdraw/x11-init.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-19 18:00:07 +0000
committerrsc <devnull@localhost>2005-07-19 18:00:07 +0000
commit1c171e3add096f5fbecceefd19f21a43c08b5509 (patch)
treee8b4ac09d6909617761c9ad476ff295d0e91d195 /src/libdraw/x11-init.c
parent86a1a5e7b30c37ad1d1a169855eb7b94b00d6aec (diff)
downloadplan9port-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.c12
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)