changeset 3592:25dc4a86132c

Fixed compile error on Windows.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 17 Dec 2009 07:47:03 +0000
parents db4af3cb938e
children b931bcfd94a0
files src/SDL_compat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;