diff 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
line wrap: on
line diff
--- a/src/stdlib/SDL_string.c	Wed Jul 19 04:24:41 2006 +0000
+++ b/src/stdlib/SDL_string.c	Wed Jul 19 05:03:21 2006 +0000
@@ -750,6 +750,8 @@
         ++str1;
         ++str2;
     }
+    a = SDL_tolower(*str1);
+    b = SDL_tolower(*str2);
     return (int) ((unsigned char) a - (unsigned char) b);
 }
 #endif
@@ -769,6 +771,8 @@
         ++str2;
         --maxlen;
     }
+    a = SDL_tolower(*str1);
+    b = SDL_tolower(*str2);
     return (int) ((unsigned char) a - (unsigned char) b);
 }
 #endif