From b60b6c6fb51f5ba140c7e0571251074142ab6973 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Sun, 16 Jan 2005 20:33:37 +0000 Subject: [PATCH] I just noticed that createLyXTmpDir wouldn't compile under OS/2. Not that there are any OS/2 users out there; I'll eat my hat if LyX compiles under OS/2. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9484 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/filetools.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/support/filetools.C b/src/support/filetools.C index e5db9d75d4..fdae775024 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -582,7 +582,7 @@ string const createLyXTmpDir(string const & deflt) if (!deflt.empty() && deflt != "/tmp") { if (mkdir(deflt, 0777)) { #ifdef __EMX__ - Path p(user_lyxdir()); + Path p(package().user_support()); #endif if (IsDirWriteable(deflt)) { // deflt could not be created because it @@ -597,7 +597,7 @@ string const createLyXTmpDir(string const & deflt) return deflt; } else { #ifdef __EMX__ - Path p(user_lyxdir()); + Path p(package().user_support()); #endif return createTmpDir("/tmp", "lyx_tmpdir"); } -- 2.39.5