src/stdlib/SDL_string.c
changeset 1358 c71e05b4dc2e
parent 1354 22f39393668a
child 1379 c0a74f199ecf
     1.1 --- a/src/stdlib/SDL_string.c	Fri Feb 10 03:21:39 2006 +0000
     1.2 +++ b/src/stdlib/SDL_string.c	Fri Feb 10 06:48:43 2006 +0000
     1.3 @@ -353,7 +353,7 @@
     1.4  {
     1.5      char *bufp = string;
     1.6      while ( *bufp ) {
     1.7 -        *bufp = toupper(*bufp);
     1.8 +        *bufp = SDL_toupper(*bufp);
     1.9  	++bufp;
    1.10      }
    1.11      return string;
    1.12 @@ -365,7 +365,7 @@
    1.13  {
    1.14      char *bufp = string;
    1.15      while ( *bufp ) {
    1.16 -        *bufp = tolower(*bufp);
    1.17 +        *bufp = SDL_tolower(*bufp);
    1.18  	++bufp;
    1.19      }
    1.20      return string;
    1.21 @@ -609,8 +609,8 @@
    1.22      char a = 0;
    1.23      char b = 0;
    1.24      while (*str1 && *str2) {
    1.25 -        a = tolower(*str1);
    1.26 -        b = tolower(*str2);
    1.27 +        a = SDL_tolower(*str1);
    1.28 +        b = SDL_tolower(*str2);
    1.29          if ( a != b )
    1.30              break;
    1.31          ++str1;
    1.32 @@ -713,7 +713,7 @@
    1.33                                  ++index;
    1.34                              }
    1.35                              if ( text[index] == '0' ) {
    1.36 -                                if ( tolower(text[index+1]) == 'x' ) {
    1.37 +                                if ( SDL_tolower(text[index+1]) == 'x' ) {
    1.38                                      radix = 16;
    1.39                                  } else {
    1.40                                      radix = 8;