diff options
Diffstat (limited to 'code/qcommon/common.c')
-rw-r--r-- | code/qcommon/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c index b8bef85..b24e4ce 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -2364,7 +2364,7 @@ void Com_Setenv_f(void) #ifdef _WIN32 // windows already removes env variable if value is an empty string - _putenv_s(arg1, arg2); + _putenv(va("%s=%s", arg1, arg2)); #else if(!*arg2) unsetenv(arg1); |