summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-01-24 22:18:59 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-01-24 22:18:59 (GMT)
commitb3ff521abec20509a917158bee82fff6d0931447 (patch)
tree2ceed71b80fa23429f6aeb4a62fe9ca3ea9499d1 /src/portable.cpp
parentdf4e1edf1f6abb55a811e7c4a34764f27b50e502 (diff)
downloadDoxygen-b3ff521abec20509a917158bee82fff6d0931447.zip
Doxygen-b3ff521abec20509a917158bee82fff6d0931447.tar.gz
Doxygen-b3ff521abec20509a917158bee82fff6d0931447.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