mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-23 04:32:28 +00:00
IOQ3 commit 1943
This commit is contained in:
parent
0492f22ca6
commit
b76f7e24ff
1 changed files with 3 additions and 0 deletions
|
@ -772,7 +772,10 @@ set/unset environment variables (empty value removes it)
|
|||
*/
|
||||
void Sys_SetEnv(const char *name, const char *value)
|
||||
{
|
||||
if(value)
|
||||
_putenv(va("%s=%s", name, value));
|
||||
else
|
||||
_putenv(va("%s=", name));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue