diff src/stdlib/SDL_string.c @ 1358:c71e05b4dc2e

More header massaging... works great on Windows. ;-)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 10 Feb 2006 06:48:43 +0000
parents 22f39393668a
children c0a74f199ecf
line wrap: on
line diff
--- a/src/stdlib/SDL_string.c	Fri Feb 10 03:21:39 2006 +0000
+++ b/src/stdlib/SDL_string.c	Fri Feb 10 06:48:43 2006 +0000
@@ -353,7 +353,7 @@
 {
     char *bufp = string;
     while ( *bufp ) {
-        *bufp = toupper(*bufp);
+        *bufp = SDL_toupper(*bufp);
 	++bufp;
     }
     return string;
@@ -365,7 +365,7 @@
 {
     char *bufp = string;
     while ( *bufp ) {
-        *bufp = tolower(*bufp);
+        *bufp = SDL_tolower(*bufp);
 	++bufp;
     }
     return string;
@@ -609,8 +609,8 @@
     char a = 0;
     char b = 0;
     while (*str1 && *str2) {
-        a = tolower(*str1);
-        b = tolower(*str2);
+        a = SDL_tolower(*str1);
+        b = SDL_tolower(*str2);
         if ( a != b )
             break;
         ++str1;
@@ -713,7 +713,7 @@
                                 ++index;
                             }
                             if ( text[index] == '0' ) {
-                                if ( tolower(text[index+1]) == 'x' ) {
+                                if ( SDL_tolower(text[index+1]) == 'x' ) {
                                     radix = 16;
                                 } else {
                                     radix = 8;