summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-06-17 20:13:17 (GMT)
committerGitHub <noreply@github.com>2019-06-17 20:13:17 (GMT)
commit1f351e4648c688c6ed90acfe0132aa47bc101141 (patch)
treec534220097074bdb15e228d9557abae690b7c6f4 /src
parentcd81aa200a31e486e61fe701e4a782ed929e90c2 (diff)
parent225211ff137d54d7cd5c23b7be990756114f7263 (diff)
downloadDoxygen-1f351e4648c688c6ed90acfe0132aa47bc101141.zip
Doxygen-1f351e4648c688c6ed90acfe0132aa47bc101141.tar.gz
Doxygen-1f351e4648c688c6ed90acfe0132aa47bc101141.tar.bz2
Merge pull request #7064 from albert-github/feature/bug_796582
Bug 796582 - Doxygen has stopped working
Diffstat (limited to 'src')
-rw-r--r--src/portable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index e2bdf6e..3d64638 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -463,6 +463,7 @@ void portable_correct_path(void)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
const char *p = portable_getenv("PATH");
+ if (!p) return; // no path nothing to correct
QCString result = substitute(p,'/','\\');
if (result!=p) portable_setenv("PATH",result.data());
#endif