diff options
author | marha <marha@users.sourceforge.net> | 2012-08-01 08:21:55 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-08-01 08:21:55 +0200 |
commit | 003d1cbe962b310192b00ff2820f6d6d3fd01746 (patch) | |
tree | 07d6ba89c6948a8cd957f0240283830ed7655211 /xorg-server/os | |
parent | 23b8d7cf3d4b1368f05ec56a8fcd93f4fbb17d42 (diff) | |
download | vcxsrv-003d1cbe962b310192b00ff2820f6d6d3fd01746.tar.gz vcxsrv-003d1cbe962b310192b00ff2820f6d6d3fd01746.tar.bz2 vcxsrv-003d1cbe962b310192b00ff2820f6d6d3fd01746.zip |
Fixed problem in Win32TempDir of returning NULL in case TEMP env variable
is not defined and TMP is
Diffstat (limited to 'xorg-server/os')
-rw-r--r-- | xorg-server/os/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/os/utils.c b/xorg-server/os/utils.c index b40f43fed..ae28ac567 100644 --- a/xorg-server/os/utils.c +++ b/xorg-server/os/utils.c @@ -1644,7 +1644,7 @@ Win32TempDir() if (getenv("TEMP") != NULL) return getenv("TEMP"); else if (getenv("TMP") != NULL) - return getenv("TEMP"); + return getenv("TMP"); else return "/tmp"; } |