Add uchar for NetBSD ctype.
This commit is contained in:
@@ -875,7 +875,7 @@ parsewinsize(char *s, Rectangle *r, int *havemin)
|
|||||||
os = s;
|
os = s;
|
||||||
*havemin = 0;
|
*havemin = 0;
|
||||||
*r = Rect(0,0,0,0);
|
*r = Rect(0,0,0,0);
|
||||||
if(!isdigit(*s))
|
if(!isdigit((uchar)*s))
|
||||||
goto oops;
|
goto oops;
|
||||||
i = strtol(s, &s, 0);
|
i = strtol(s, &s, 0);
|
||||||
if(*s == 'x'){
|
if(*s == 'x'){
|
||||||
|
|||||||
Reference in New Issue
Block a user