Quite a few instances of the Cardinal Error of Ctype were turned up

by a grep I just did. Oops.

[originally from svn r6113]
This commit is contained in:
Simon Tatham
2005-07-17 17:10:11 +00:00
parent 8ac92e8607
commit e33a57b703
9 changed files with 17 additions and 17 deletions

4
flip.c
View File

@ -116,11 +116,11 @@ static game_params *dup_params(game_params *params)
static void decode_params(game_params *ret, char const *string)
{
ret->w = ret->h = atoi(string);
while (*string && isdigit(*string)) string++;
while (*string && isdigit((unsigned char)*string)) string++;
if (*string == 'x') {
string++;
ret->h = atoi(string);
while (*string && isdigit(*string)) string++;
while (*string && isdigit((unsigned char)*string)) string++;
}
if (*string == 'r') {
string++;