From b76f7e24ff4e16e1f6f03cacc2a393d51a8ccd3d Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Wed, 18 May 2011 02:25:05 +0000 Subject: [PATCH] IOQ3 commit 1943 --- reaction/code/sys/sys_win32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reaction/code/sys/sys_win32.c b/reaction/code/sys/sys_win32.c index 0d213409..362d33a1 100644 --- a/reaction/code/sys/sys_win32.c +++ b/reaction/code/sys/sys_win32.c @@ -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)); } /*