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