Mercurial > sdl-ios-xcode
comparison src/stdlib/SDL_string.c @ 1916:c773b0c0ac89
Implemented blend modes in the D3D renderer
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 19 Jul 2006 05:03:21 +0000 |
parents | f132024010be |
children | 8e761d6af583 |
comparison
equal
deleted
inserted
replaced
1915:a228436a2404 | 1916:c773b0c0ac89 |
---|---|
748 if (a != b) | 748 if (a != b) |
749 break; | 749 break; |
750 ++str1; | 750 ++str1; |
751 ++str2; | 751 ++str2; |
752 } | 752 } |
753 a = SDL_tolower(*str1); | |
754 b = SDL_tolower(*str2); | |
753 return (int) ((unsigned char) a - (unsigned char) b); | 755 return (int) ((unsigned char) a - (unsigned char) b); |
754 } | 756 } |
755 #endif | 757 #endif |
756 | 758 |
757 #if !defined(HAVE_STRNCASECMP) && !defined(HAVE__STRNICMP) | 759 #if !defined(HAVE_STRNCASECMP) && !defined(HAVE__STRNICMP) |
767 break; | 769 break; |
768 ++str1; | 770 ++str1; |
769 ++str2; | 771 ++str2; |
770 --maxlen; | 772 --maxlen; |
771 } | 773 } |
774 a = SDL_tolower(*str1); | |
775 b = SDL_tolower(*str2); | |
772 return (int) ((unsigned char) a - (unsigned char) b); | 776 return (int) ((unsigned char) a - (unsigned char) b); |
773 } | 777 } |
774 #endif | 778 #endif |
775 | 779 |
776 #ifndef HAVE_SSCANF | 780 #ifndef HAVE_SSCANF |