IMG_pnm.c
changeset 481 e77ad79ab3e0
parent 451 48116d511e5d
child 486 7bb8af91e887
     1.1 --- a/IMG_pnm.c	Sun Jun 14 17:24:09 2015 -0700
     1.2 +++ b/IMG_pnm.c	Sun Jun 14 17:24:38 2015 -0700
     1.3 @@ -88,7 +88,7 @@
     1.4                  }
     1.5              } while ( (ch != '\r') && (ch != '\n') );
     1.6          }
     1.7 -    } while ( isspace(ch) );
     1.8 +    } while ( SDL_isspace(ch) );
     1.9  
    1.10      /* Add up the number */
    1.11      do {
    1.12 @@ -98,7 +98,7 @@
    1.13          if ( !SDL_RWread(src, &ch, 1, 1) ) {
    1.14              return -1;
    1.15          }
    1.16 -    } while ( isdigit(ch) );
    1.17 +    } while ( SDL_isdigit(ch) );
    1.18  
    1.19      return(number);
    1.20  }