mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +00:00
SDL_CreateEnvironment() fills the environment with a non-zero parameter
This commit is contained in:
parent
76c469910e
commit
aa7357a14d
5 changed files with 9 additions and 9 deletions
|
@ -40,7 +40,7 @@ static char **DuplicateEnvironment(const char *key0, ...)
|
|||
va_list ap;
|
||||
const char *keyN;
|
||||
SDL_Environment *env = SDL_GetEnvironment();
|
||||
SDL_Environment *new_env = SDL_CreateEnvironment(SDL_TRUE);
|
||||
SDL_Environment *new_env = SDL_CreateEnvironment(SDL_FALSE);
|
||||
char **result;
|
||||
|
||||
if (key0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue