mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 15:21:43 +00:00
SDL_CreateEnvironment() fills the environment with a non-zero parameter
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user