Fixed compile error on Windows.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404341
This commit is contained in:
parent
0833d1cda2
commit
c7fe958b6e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue