summaryrefslogtreecommitdiffstats
path: root/mcop
diff options
context:
space:
mode:
Diffstat (limited to 'mcop')
-rw-r--r--mcop/mcoputils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcop/mcoputils.cc b/mcop/mcoputils.cc
index f638076..c938105 100644
--- a/mcop/mcoputils.cc
+++ b/mcop/mcoputils.cc
@@ -90,7 +90,7 @@ static char *locate_mcop_dir()
int result;
struct stat stat_buf;
- tmp = getenv("KDETMP");
+ tmp = getenv("TDETMP");
if (!tmp || !tmp[0])
tmp = getenv("TMPDIR");
if (!tmp || !tmp[0])
@@ -375,7 +375,7 @@ string MCOPUtils::createFilePath(string name)
{
const char *tmp = 0;
- tmp = getenv("KDETMP");
+ tmp = getenv("TDETMP");
if (!tmp || !tmp[0])
tmp = getenv("TMPDIR");
if (!tmp || !tmp[0])