Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compile error on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 17, 2009
1 parent 362ec6f commit 5ba59be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDL_compat.c
Expand Up @@ -1764,7 +1764,7 @@ SDL_putenv(const char *_var)
return -1; /* we don't set errno. */
}

ptr = strchr(var, '=');
ptr = SDL_strchr(var, '=');
if (ptr == NULL) {
SDL_free(var);
return -1;
Expand Down

0 comments on commit 5ba59be

Please sign in to comment.