From e33a57b703f11de067a400505e2425de3a0b5f9e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 17 Jul 2005 17:10:11 +0000 Subject: Quite a few instances of the Cardinal Error of Ctype were turned up by a grep I just did. Oops. [originally from svn r6113] --- cube.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cube.c') diff --git a/cube.c b/cube.c index c1462e7..e271ce3 100644 --- a/cube.c +++ b/cube.c @@ -285,7 +285,7 @@ static void decode_params(game_params *ret, char const *string) default: break; } ret->d1 = ret->d2 = atoi(string); - while (*string && isdigit(*string)) string++; + while (*string && isdigit((unsigned char)*string)) string++; if (*string == 'x') { string++; ret->d2 = atoi(string); -- cgit v1.1