I just hate to be pushed around by some @#$%^& machine.

This commit is contained in:
rsc 2005-07-19 18:00:07 +00:00
parent 86a1a5e7b3
commit 1c171e3add
15 changed files with 29 additions and 29 deletions

View file

@ -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;

View file

@ -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)