diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/m_misc.c | 4 |
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 = "."; } |