Commit c7fe958b authored by Sam Lantinga's avatar Sam Lantinga

Fixed compile error on Windows.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404341
parent 0833d1cd
...@@ -1764,7 +1764,7 @@ SDL_putenv(const char *_var) ...@@ -1764,7 +1764,7 @@ SDL_putenv(const char *_var)
return -1; /* we don't set errno. */ return -1; /* we don't set errno. */
} }
ptr = strchr(var, '='); ptr = SDL_strchr(var, '=');
if (ptr == NULL) { if (ptr == NULL) {
SDL_free(var); SDL_free(var);
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment