summaryrefslogtreecommitdiff
path: root/src/m_misc.c
diff options
context:
space:
mode:
authorRussell Rice2007-01-06 02:15:44 +0000
committerRussell Rice2007-01-06 02:15:44 +0000
commit1d3e9a564853aaf44f8ec58d9ea023932416f6b3 (patch)
tree97e170e960acda0c98076f2f2f8808312f310f24 /src/m_misc.c
parentcb7cf979369b5b3b4db0154368e379ae8ab8aa25 (diff)
downloadchocolate-doom-1d3e9a564853aaf44f8ec58d9ea023932416f6b3.tar.gz
chocolate-doom-1d3e9a564853aaf44f8ec58d9ea023932416f6b3.tar.bz2
chocolate-doom-1d3e9a564853aaf44f8ec58d9ea023932416f6b3.zip
temp -> tempdir
update codeblocks projects (which is a new format, latest cb svn build is needed) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 822
Diffstat (limited to 'src/m_misc.c')
-rw-r--r--src/m_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_misc.c b/src/m_misc.c
index 13ca6768..481539dc 100644
--- a/src/m_misc.c
+++ b/src/m_misc.c
@@ -212,9 +212,9 @@ char *M_TempFile(char *s)
// Check the TEMP environment variable to find the location.
- temp = getenv("TEMP");
+ tempdir = getenv("TEMP");
- if (temp == NULL)
+ if (tempdir == NULL)
{
tempdir = ".";
}