# HG changeset patch # User Sam Lantinga # Date 1261036023 0 # Node ID 25dc4a86132c55e790662d3a92203a2c5cb0fe61 # Parent db4af3cb938e2858aed12e1a2360d51d037e7435 Fixed compile error on Windows. diff -r db4af3cb938e -r 25dc4a86132c 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;