More header massaging... works great on Windows. ;-)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401362
This commit is contained in:
parent
7d878d138f
commit
684909fae2
268 changed files with 90 additions and 806 deletions
|
@ -353,7 +353,7 @@ char *SDL_strupr(char *string)
|
|||
{
|
||||
char *bufp = string;
|
||||
while ( *bufp ) {
|
||||
*bufp = toupper(*bufp);
|
||||
*bufp = SDL_toupper(*bufp);
|
||||
++bufp;
|
||||
}
|
||||
return string;
|
||||
|
@ -365,7 +365,7 @@ char *SDL_strlwr(char *string)
|
|||
{
|
||||
char *bufp = string;
|
||||
while ( *bufp ) {
|
||||
*bufp = tolower(*bufp);
|
||||
*bufp = SDL_tolower(*bufp);
|
||||
++bufp;
|
||||
}
|
||||
return string;
|
||||
|
@ -609,8 +609,8 @@ int SDL_strcasecmp(const char *str1, const char *str2)
|
|||
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 @@ int SDL_sscanf(const char *text, const char *fmt, ...)
|
|||
++index;
|
||||
}
|
||||
if ( text[index] == '0' ) {
|
||||
if ( tolower(text[index+1]) == 'x' ) {
|
||||
if ( SDL_tolower(text[index+1]) == 'x' ) {
|
||||
radix = 16;
|
||||
} else {
|
||||
radix = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue