summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-01-24 22:18:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-01-24 22:18:59 (GMT)
commit3eb607c72338237e65fc44562b153db7ce4e0ac9 (patch)
tree2ceed71b80fa23429f6aeb4a62fe9ca3ea9499d1 /src/portable.cpp
parent05b70e8e2c6e0cda9b74fc99fd782d1977d298c9 (diff)
downloadDoxygen-3eb607c72338237e65fc44562b153db7ce4e0ac9.zip
Doxygen-3eb607c72338237e65fc44562b153db7ce4e0ac9.tar.gz
Doxygen-3eb607c72338237e65fc44562b153db7ce4e0ac9.tar.bz2
Release-1.6.2-20100124
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index 17a65d8..41eff1c 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -179,6 +179,7 @@ static char **last_environ;
void portable_setenv(const char *name,const char *value)
{
+ if (value==0) value="";
#if defined(_WIN32) && !defined(__CYGWIN__)
SetEnvironmentVariable(name,value);
#else