Fixed compile error on Windows.
authorSam Lantinga <slouken@libsdl.org>
Thu, 17 Dec 2009 07:47:03 +0000
changeset 3592 25dc4a86132c
parent 3591 db4af3cb938e
child 3593 b931bcfd94a0
Fixed compile error on Windows.
src/SDL_compat.c
--- a/src/SDL_compat.c	Thu Dec 17 07:46:13 2009 +0000
+++ b/src/SDL_compat.c	Thu Dec 17 07:47:03 2009 +0000
@@ -1764,7 +1764,7 @@
         return -1;  /* we don't set errno. */
     }
 
-    ptr = strchr(var, '=');
+    ptr = SDL_strchr(var, '=');
     if (ptr == NULL) {
         SDL_free(var);
         return -1;