Fixed compile error on Windows.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404341
This commit is contained in:
Sam Lantinga 2009-12-17 07:47:03 +00:00
parent 0833d1cda2
commit c7fe958b6e

View file

@ -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;